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
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
..
backtrace/location Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in eval 2021-07-29 13:51:03 -07:00
fixtures
shared Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
abort_on_exception_spec.rb
add_trace_func_spec.rb
alive_spec.rb
allocate_spec.rb
backtrace_locations_spec.rb Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
backtrace_spec.rb
current_spec.rb
element_reference_spec.rb
element_set_spec.rb
exclusive_spec.rb
exit_spec.rb
fetch_spec.rb
fork_spec.rb
group_spec.rb
handle_interrupt_spec.rb Update to ruby/spec@8cafaa5 2021-01-28 17:08:57 +01:00
initialize_spec.rb
inspect_spec.rb
join_spec.rb
key_spec.rb
keys_spec.rb
kill_spec.rb
list_spec.rb
main_spec.rb
name_spec.rb
new_spec.rb
pass_spec.rb
pending_interrupt_spec.rb Update to ruby/spec@8cafaa5 2021-01-28 17:08:57 +01:00
priority_spec.rb
raise_spec.rb
report_on_exception_spec.rb
run_spec.rb
set_trace_func_spec.rb
start_spec.rb
status_spec.rb
stop_spec.rb
terminate_spec.rb
thread_variable_get_spec.rb
thread_variable_set_spec.rb
thread_variable_spec.rb
thread_variables_spec.rb
to_s_spec.rb
value_spec.rb
wakeup_spec.rb