fuzion icon indicating copy to clipboard operation
fuzion copied to clipboard

parser: flag error for ambiguous use of semicolons

Open simonvonhackewitz opened this issue 1 year ago • 1 comments

fix #2702

Examples for ambiguous use of semicolon

my_feat => say "Hi"; say "ambiguous"

if true if true then say "OK"; say "ambiguous"

Whats still OK

a := 1; say "declared a"

if true then yak "this"; say " is fine";

simonvonhackewitz avatar Aug 08 '24 13:08 simonvonhackewitz

NYI: code for the suggested corrections in the error message is still missing

simonvonhackewitz avatar Aug 08 '24 13:08 simonvonhackewitz