summaryrefslogtreecommitdiff
path: root/spec/ruby/optional/capi/binding_spec.rb
AgeCommit message (Collapse)Author
2022-03-24Raise RuntimeError if Kernel#binding is called from a non-Ruby frameJeremy Evans
Check whether the current or previous frame is a Ruby frame in call_trace_func before attempting to create a binding for the frame. Fixes [Bug #18487] Co-authored-by: Alan Wu <XrXr@users.noreply.github.com> Notes: Merged: https://github.com/ruby/ruby/pull/5567
2020-12-27Update to ruby/spec@4ce9f41Benoit Daloze