Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5309

Wrong line/col info for binary expressions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-alpha-1
    • Component/s: parser-antlr
    • Labels:
      None

      Description

      assert annotationsOfIdField[0]    instanceof Id
      

      The binary expression between the assert and instanceof: the end of the line / col info is right before instance of, instead of being after the last closing square bracket

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel_sun Daniel Sun
                Reporter:
                Guillaume Guillaume Delcroix
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: