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
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
..
argf
array Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
basicobject
binding Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
builtin_constants
class
comparable
complex
data
dir Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
encoding Update to ruby/spec@a0b7d0d 2021-06-02 14:34:07 +02:00
enumerable Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
enumerator Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
env Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
exception Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
false
fiber Update to ruby/spec@a0b7d0d 2021-06-02 14:34:07 +02:00
file Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
filetest
float Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
gc
hash Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
integer Add Integer.try_convert [Feature #15211] 2021-07-16 17:49:53 +09:00
io Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
kernel Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
main
marshal Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
matchdata
math
method Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
module Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
mutex
nil Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
numeric Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
objectspace Update to ruby/spec@a0b7d0d 2021-06-02 14:34:07 +02:00
proc Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
process Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
queue
random Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
range Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
rational
regexp
signal Update to ruby/spec@a0b7d0d 2021-06-02 14:34:07 +02:00
sizedqueue
string Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
struct Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
symbol
systemexit
thread Make RubyVM::AbstractSyntaxTree.of raise for method/proc created in eval 2021-07-29 13:51:03 -07:00
threadgroup
time Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
tracepoint Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
true
unboundmethod
warning Fix a spec failure 2021-07-17 13:24:08 +09:00