Bad error message for missing parenthesis in the if
condition
#1427
Labels
error messages
Collects issues steming from poor error messages
language design
Language specification
If the
if
statement is inside an operator call (or probably anything), the parser loses track of the missing parenthesis error, and the reported error is almost meaningless:The text was updated successfully, but these errors were encountered: