-
Bug
-
Resolution: Fixed
-
P4
-
10
-
b29
Consider code like:
{
if (true)
}
(i.e. missing statement after "if"). The if statement will get parsed as "if (true) (ERROR);", which appears OK, but the end position for "(ERROR);" and "(ERROR)" is not set. In addition, due to this, the end pos of the error/diagnostics is -1.
{
if (true)
}
(i.e. missing statement after "if"). The if statement will get parsed as "if (true) (ERROR);", which appears OK, but the end position for "(ERROR);" and "(ERROR)" is not set. In addition, due to this, the end pos of the error/diagnostics is -1.