Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler trips up on a combination of send and eval (concocted example) #2394

Closed
rjnienaber opened this issue Dec 30, 2014 · 1 comment
Closed
Milestone

Comments

@rjnienaber
Copy link

@rjnienaber rjnienaber commented Dec 30, 2014

From: http://jira.codehaus.org/browse/JRUBY-5486. Fails on JRuby 1.7.18 but works on JRuby 9000.

class C
  def foo(mname, expr)
    a = 1
    b = 2

    C.send(mname, expr)

    puts "b is #{b}"
  end
end

C.new.foo("eval", "b=a+3")
@enebo enebo added this to the Won't Fix milestone May 16, 2017
@enebo
Copy link
Member

@enebo enebo commented May 16, 2017

1.7.x is EOL and this will not get fixed. Marking WONTFIX

@enebo enebo closed this May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants