Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix if instead ifloop bug #2069

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

Tiko7454
Copy link
Contributor

fixes #2059 by injecting the expression out of the if (also while, for and do-while) condition if it contains ternary expression. Instead a new variable of type bool is created which is computed

  • (for if) before it enters if
  • (for while) before it enters while and immediately before next if_loop in the body of while
  • (for for) the same way as for while
  • (for do-while) immediately before if_loop in the body of while

@Tiko7454 Tiko7454 closed this Aug 21, 2023
@Tiko7454 Tiko7454 reopened this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant