kai icon indicating copy to clipboard operation
kai copied to clipboard

Missing lbrace in if statement causes infinite loop

Open BrettRToomey opened this issue 8 years ago • 0 comments

This example, a mistake, causes an infinite loop instead of raising an error:

main :: fn() -> void {
    if true // {
    }
}

BrettRToomey avatar Oct 08 '17 20:10 BrettRToomey