SerenityOS / jakt

The Jakt Programming Language
BSD 2-Clause "Simplified" License
2.77k stars 244 forks source link

`continue` and `break` accepted in random places #1531

Closed awesomekling closed 6 months ago

awesomekling commented 6 months ago

This should probably not compile :sweat_smile:

fn boog() {
    continue
}

Same with

fn boog() {
    break
}