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

Wrong line/col info for binary expressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0-alpha-1
    • parser-antlr2
    • 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

              daniel_sun Daniel Sun
              guillaume Guillaume Sauthier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: