AST offset error for StrNode and DStrNode
-----------------------------------------
Key: JRUBY-2854
URL: http://jira.codehaus.org/browse/JRUBY-2854
Project: JRuby
Issue Type: Bug
Components: Parser
Affects Versions: JRuby 1.1.3
Environment: OSX
Reporter: Tor Norbye
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.4
Attachments: aliasing.rb
For the attached source file (from Rails), the offset errors for some of the
StrNodes are wrong: the starting position is higher than the ending position!
For example, there is a StrNode with pos start=2054 and pos end=2049 (around
line 66?).
I have other unit tests which showed similar problems for DStrNodes so if these
are handled by separate code let me know and I'll dig up a testcase for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email