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

Multiple else statements are allowed #213

Closed
Tracked by #215
CTRL-paste opened this issue Jan 28, 2023 · 1 comment
Closed
Tracked by #215

Multiple else statements are allowed #213

CTRL-paste opened this issue Jan 28, 2023 · 1 comment
Labels
priority:p3 Low priority scope:compiler type:bug Something isn't working

Comments

@CTRL-paste
Copy link

CTRL-paste commented Jan 28, 2023

Multiple else statements make no sense but are compiled successfully and this caused a bit of headache for me.

if 0@ == 0
then
  // do stuff
else
  //other stuff
else
else
end
@CTRL-paste CTRL-paste changed the title Multiple else statements allowed Multiple else statements are allowed Jan 28, 2023
@x87 x87 added type:bug Something isn't working priority:p3 Low priority scope:compiler labels Jan 28, 2023
@x87
Copy link
Collaborator

x87 commented Jan 28, 2023

interesting observation, thanks for reporting!

@x87 x87 mentioned this issue Feb 13, 2023
8 tasks
@x87 x87 closed this as completed Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:p3 Low priority scope:compiler type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants