Skip to content

Early return could be doable with if-else? #8

@Thorium

Description

@Thorium

Documentation says early returns are not supported.
What this means?

I think early return could be doable:

if(x){
    /* some return */
    return f;
}
var c = 3;
// ...

with:

if x then
    (* some return *)
    f
else
let c = 3
// ...

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