parser: outer else
falsely matched with inner if
#2691
Labels
bug
Something isn't working
enhancement
New feature or request
Fuzion language
related to the language, syntax, etc
parser
related to the parser
This is related to #2371, another surprise: This example
works as expected:
while the same code with the
if
moved behind thedo
executes the
else
inside the loop as part of theif
statment:The same problem may occur with nested
if
statements:which should not call
panic
, but it does:The text was updated successfully, but these errors were encountered: