We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to: #3029
With current mruby master(501e1ef) and conf.gem core: 'mruby-eval', I got following behavior.
conf.gem core: 'mruby-eval'
$ bin/mirb > class A; def test; [''].each { p self }; end; end => :test > A.new.test #<A:0xdc55b0> => [""] > A.new.instance_eval("test") #<A:0xdc38d0> => [""] > A.new.instance_eval("[''].each { p self }") main => [""]
While I got main for the last result of p self, I think it should be #<A:....>. Is it interntional?
main
p self
#<A:....>
The text was updated successfully, but these errors were encountered:
instance_eval env should remake Fix mruby#3191
e073de6
Replace mruby to fix instance_eval's bug
d9e44ba
See: mruby/mruby#3191 mruby/mruby#3192
Merge pull request #3192 from ksss/instance_eval
bf08935
instance_eval env should remake Fix #3191
Successfully merging a pull request may close this issue.
Related to: #3029
With current mruby master(501e1ef) and
conf.gem core: 'mruby-eval'
, I got following behavior.While I got
main
for the last result ofp self
, I think it should be#<A:....>
. Is it interntional?The text was updated successfully, but these errors were encountered: