Incorrect end position for missing statement

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • 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.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: