1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/thread/backtrace/location
Jeremy Evans 64ac984129 Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in eval
This changes Thread::Location::Backtrace#absolute_path to return
nil for methods/procs defined in eval.  If the realpath of an iseq
is nil, that indicates it was defined in eval, in which case you
cannot use RubyVM::AbstractSyntaxTree.of.

Fixes [Bug #16983]

Co-authored-by: Koichi Sasada <ko1@atdot.net>
2021-07-29 13:51:03 -07:00
..
fixtures Update to ruby/spec@07164da 2020-07-27 21:41:08 +02:00
absolute_path_spec.rb Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in eval 2021-07-29 13:51:03 -07:00
base_label_spec.rb Update to ruby/spec@335eb9b 2020-08-28 20:26:02 +02:00
inspect_spec.rb
label_spec.rb
lineno_spec.rb Update to ruby/spec@07164da 2020-07-27 21:41:08 +02:00
path_spec.rb Update to ruby/spec@07164da 2020-07-27 21:41:08 +02:00
to_s_spec.rb