Project

General

Profile

« Previous | Next » 

Revision 343ea996

Added by jeremyevans (Jeremy Evans) about 3 years ago

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 before attempting to create a binding for the frame.

Fixes [Bug #18487]

Co-authored-by: Alan Wu