Skip to content

Multiple else statements are allowed #213

Closed

Description

@CTRL-paste

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

Activity

  1. changed the title [-]Multiple else statements allowed[/-] [+]Multiple else statements are allowed[/+] on Jan 28, 2023
  2. added
    type:bug
    priority:p3
    on Jan 28, 2023
  3. x87 commented on Jan 28, 2023

    @x87
    Collaborator

    interesting observation, thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:compilertype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions