YieldNodes sometimes have wrong position information
----------------------------------------------------

                 Key: JRUBY-1435
                 URL: http://jira.codehaus.org/browse/JRUBY-1435
             Project: JRuby
          Issue Type: Bug
          Components: Parser
    Affects Versions: JRuby 1.0.1
         Environment: OSX
            Reporter: Tor Norbye


YieldNodes seem to have the wrong position information (start and end offsets). 
For a document containing just this:
yield x

you get a YieldNode that has positions 5-8. That's obviously wrong; it should 
be 0-7.  This is not particular to the above simple code, it happens (and was 
discovered) in more complicated method definitions involving yields.

-- 
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

Reply via email to