-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 10
-
Component/s: tools
-
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.