Please Fix Error Message Locators for 'IF' statements

Please Fix Error Message Locators for 'IF' statements

As you can see from my screenshot attached, the error message says there is an "Error at line number: 1". This is incorrect. The error ACTUALLY exists on line 82.


I've noticed this miscommunication often occurs when there are 'IF' statements involved. Whenever there is an error ANYWHERE inside of an 'IF' statement, the Error Message will only ever point you to the first line of that IF statement. That's not helpful, especially for IF statements consisting of tens/hundreds/thousands of lines.

Please for the love of god fix this.

Thank you,
Josh