1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

2 commits

Author SHA1 Message Date
Yusuke Endoh
314b76a567 test/-ext-/eval/test_eval.rb: Prevent "assigned but unused variable" 2022-08-24 10:36:17 +09:00
Koichi Sasada
5bbba76489 respect current frame of rb_eval_string
`self` is nearest Ruby method's `self`.
If there is no ruby frame, use toplevel `self` (`main`).

https://bugs.ruby-lang.org/issues/18780
2022-08-01 17:48:05 +09:00