1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
Jeremy Evans 0b091fdac6
Raise RuntimeError if Kernel#binding is called from a non-Ruby frame
Check whether the current or previous frame is a Ruby frame in
call_trace_func and rb_tracearg_binding before attempting to
create a binding for the frame.

Fixes [Bug #18487]

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2022-04-06 19:14:03 -07:00
..
pending.rb
runner.rb
test_attr.rb
test_autoload.rb
test_block.rb
test_class.rb
test_constant_cache.rb
test_env.rb
test_eval.rb
test_exception.rb
test_fiber.rb
test_finalizer.rb
test_flip.rb
test_flow.rb
test_fork.rb
test_gc.rb
test_insns.rb
test_io.rb
test_jump.rb
test_literal.rb
test_literal_suffix.rb
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb
test_objectspace.rb
test_proc.rb
test_ractor.rb
test_string.rb
test_struct.rb
test_syntax.rb
test_thread.rb
test_yjit.rb
test_yjit_30k_ifelse.rb
test_yjit_30k_methods.rb