Local variables cross eval scopes --------------------------------- Key: JRUBY-6121 URL: https://jira.codehaus.org/browse/JRUBY-6121 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.4, JRuby 1.7 Environment: Mac OS X, 64-bit Hotspot server Reporter: Martin Harriman Assignee: Thomas E Enebo
This rubyspec test fails: begin eval("a = 2") eval("p a") rescue Object => e puts e.class end In MRI ruby 1.9.2, you get NameError, in jruby, 2. -- This message is automatically generated by JIRA. 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