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

RangeExpression wrong line, column data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.5.6
    • None
    • None
    • None

    Description

      def rangeTest() {
          (1..10).a
      }
      
      

      Parsed RangeExpression (part of PropertyExpression): line = 2, column = 5, endLine = 2, endColumn = 12
      ---from line = 2, column = 6, endLine = 2, endColumn = 9
      ---to line = 2, column = 9, endLine = 2, endColumn = 13

      Coordinates for from and to are wrong and to even overlaps the RangeExpression.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              phejl Petr Hejl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: