Skip to content

[FEATURE] Break Statements #16

@BigBadE

Description

@BigBadE

Describe Your Feature
Break statements that allow breaking out of loops

Provide a Code Snippet Using Your Feature

fn main() {
    while true {
        break;
    }
}

Additional Information
This can be implemented in the compiler as a jump to this block's end. Match statements may struggle with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Medium

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions