Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Break Statements #16

Open
BigBadE opened this issue Oct 25, 2023 · 0 comments
Open

[FEATURE] Break Statements #16

BigBadE opened this issue Oct 25, 2023 · 0 comments

Comments

@BigBadE
Copy link
Owner

BigBadE commented Oct 25, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Medium
Development

No branches or pull requests

1 participant