jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • groovy
  • GROOVY-2575

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.4
  • Fix Version/s: 1.5.6, 1.6-beta-1
  • Component/s: parser
  • Labels:
    None
  • Environment:
    ubuntun 6.10/AMD64
    Mac OSX 10.4/PPC
  • Testcase included:
    yes

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

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. GROOVY-2615 Patches for line / colum information for various AST Nodes

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Reto Kleeb added a comment - 11/Mar/08 12:04 PM

this issue is related to http://jira.codehaus.org/browse/GROOVY-2615

Show
Reto Kleeb added a comment - 11/Mar/08 12:04 PM this issue is related to http://jira.codehaus.org/browse/GROOVY-2615
Hide
Permalink
blackdrag blackdrag added a comment - 24/Apr/08 2:02 PM

fixed

Show
blackdrag blackdrag added a comment - 24/Apr/08 2:02 PM fixed

People

  • Assignee:
    blackdrag blackdrag
    Reporter:
    Matthias Schmidt
Vote (0)
Watch (2)

Dates

  • Created:
    05/Feb/08 3:17 AM
    Updated:
    24/Apr/08 2:02 PM
    Resolved:
    24/Apr/08 2:02 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.