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-end label instruction for IfStatement: if-else, else-if statements #11

Closed
mrLSD opened this issue Nov 5, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mrLSD
Copy link
Owner

mrLSD commented Nov 5, 2023

Description

For if-statement it always should be a single point of the end: if-end label, currently for the else-if condition if-end label is duplicated.

Expected behavior

➡️ Should be only one SetLabel if-end instruction generated.

@mrLSD mrLSD changed the title Fix if-end label instruction for IfStatement: if-else, // Fix if-end label instruction for IfStatement: if-else, else-if statements Nov 5, 2023
@mrLSD mrLSD added this to the v0.2.4 milestone Nov 5, 2023
@mrLSD mrLSD added the bug Something isn't working label Nov 5, 2023
@mrLSD mrLSD self-assigned this Nov 5, 2023
@mrLSD mrLSD closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant