eval 'return' not working and not failing exactly either...
-----------------------------------------------------------
Key: JRUBY-895
URL: http://jira.codehaus.org/browse/JRUBY-895
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 0.9.9
Reporter: Thomas E Enebo
No YAY printed in snippet below. Most interesting our testEval is returning
out of main without error are the point where this code is only running about
half the files test cases. I guess it is good we don't crash and bad that we
return at the wrong level :)
{code}
begin
eval 'return'
rescue LocalJumpError => e
puts "YAY: #{e}"
end
{code}
--
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