Skip to content

try / finally blocks are allowed but do nothing #47

Closed
@Caephler

Description

@Caephler

try / finally blocks should not be allowed but they are in Source. (tried in both S1 and S2)
Sample code:

try {
    display("1");
} finally {
    display("2");
}

Both display calls do not run, but the interpreter does not throw an error. Including a catch block will still result in an error, which is working as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingminorless important than important but more than nice-to-have

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions