elif/else after else in a multi-line block will lock up
FascinatedBox opened this issue · comments
FascinatedBox commented
if 1: {
1
else: 1
else: 2
}
The above causes the interpreter to stall in an infinite loop. This only happens for multi-line blocks, because single-line blocks will bail out and try to run the else against the previous if.