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

getLineNumber()/getColumnNumber() on PropertyExpression always returns -1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.4
    • 1.5.6, 1.6-beta-1
    • parser
    • None
    • ubuntun 6.10/AMD64
      Mac OSX 10.4/PPC

    Description

      org.codehaus.groovy.ast.expr.PropertyExpression is lacking column/line information. E.g. getLineNumber() and getColumnNumber() returns -1 in all of my testcases. Some of them are simple like this:

      class TestClass {
      public int pField = 1
      }
      TestClass tc = new TestClass()
      tc.pField = 9

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              schmidtm Matthias Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: