Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-439

Incremental parsing bug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 3.0.8
    • Fix Version/s: 3.0.9
    • Component/s: Parser

      Description

      With the following class:

      public class XXXXX {
          public XXXXX() {
              //
              for (int i = 0; i < 10; i++) {
              
              }
          }
      }
      

      ... add '!//' before each line of the for-loop in turn. This yields an empty constructor body. However, the scope highlighting incorrectly displays the constructor as terminating early (at the '}' which terminated the for loop).

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: