do while loop that misses ending semicolon has wrong end position

XMLWordPrintable

    • b22
    • Verified

      In code: public void method(int i) { do {} while(--i > 0) }, where the do while loop is missing its ending semi colon, the end position of the do while falls after the ending curly of the method, so the text of the do while comes out as:
      do {} while(--i > 0) }
      instead of
      do {} while(--i > 0)

            Assignee:
            Jan Lahoda
            Reporter:
            Keimpe Bronkhorst (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: