eval 'yield', b should succeed if b is a binding pulled from a frame that was 
passed a block
--------------------------------------------------------------------------------------------

                 Key: JRUBY-1551
                 URL: http://jira.codehaus.org/browse/JRUBY-1551
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1b1, JRuby 1.0.2
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.0.3, JRuby 1.1


Example:

{noformat}
def foo
  binding
end
b = foo { puts 'here' }
eval 'yield', b
{noformat}

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