Skip to content

Engine: strip automatically return when in end position #254

@W95Psp

Description

@W95Psp

Any return statement currently triggers the monadic rewrite phase, which lifts everything to a monad.

When a return statement is in end position, we should instead just drop it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priorityengineIssue in the enginegood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions