mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| absolute_path_spec.rb | ||
| base_label_spec.rb | ||
| inspect_spec.rb | ||
| label_spec.rb | ||
| lineno_spec.rb | ||
| path_spec.rb | ||
| to_s_spec.rb | ||