Skip to content

blockexpr "return" keyword selection #3

@JanSharp

Description

@JanSharp

For info about blockexpr see this issue.

We need a new keyword as a stand in for return for blockexprs (when compared to immediately invoked function expressions (iife))

My ideas so far are

  • leave
  • exit

but I don't like those. If I had to choose between those two I'd go with leave though.

Keep in mind that this keyword will be followed by an (optional) expression list (exactly like return)

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