Skip to content

Bug with if/elif #19

@joshuawills

Description

@joshuawills

**let x = 1;
let y = x + 3;

if (x - 1) {
exit(1);
} elif (x - 1) {
exit(2);
}

exit(y);**

Program crashes in this example. Fixed by adding an empty else statement, but appears to have something to do with label mismatching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions