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 08759edea8
Remove autoload for constant if the autoload fails
Previously, if an autoload failed (the file was loaded, but the
constant was not defined by the autoloaded file). Ruby will try
to autoload again if you delete the autoloaded file from
$LOADED_FEATURES.  With this change, the autoload and the
constant itself are removed as soon as it fails.

To handle cases where multiple threads are autoloading, when
deleting an autoload, handle the case where another thread
already deleted it.

Fixes [Bug #15790]
2021-10-08 14:54:26 -07:00
..
argf Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00
array Update to ruby/spec@b1e93a2 2021-09-07 19:01:07 +02:00
basicobject Update to ruby/spec@37e52e5 2021-02-27 13:00:26 +01:00
binding Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
builtin_constants Use Integer instead of Fixnum/Bignum 2020-12-21 01:19:55 +09:00
class Use Integer instead of Fixnum/Bignum 2020-12-21 01:19:55 +09:00
comparable
complex Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00
data Update to ruby/spec@4ce9f41 2020-12-27 17:35:32 +01:00
dir Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +02:00
encoding Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +02:00
enumerable Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +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 Remove the useless platform guard 2021-10-06 12:19:52 +09:00
filetest
float Update to ruby/spec@b1e93a2 2021-09-07 19:01:07 +02:00
gc Update to ruby/spec@330c641 2021-08-13 18:09:14 +02:00
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 Fix failures on non-UTF-8 environment [Bug #18077] 2021-08-22 12:11:45 +09:00
kernel Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +02:00
main Update to ruby/spec@37e52e5 2021-02-27 13:00:26 +01:00
marshal Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +02:00
matchdata Add spec for MatchData#match and MatchData#match_length [Feature #18172] 2021-09-17 10:27:00 +09:00
math
method Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
module Remove autoload for constant if the autoload fails 2021-10-08 14:54:26 -07: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@ccf0d85 2021-10-05 19:41:44 +02:00
proc Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
process Update to ruby/spec@b1e93a2 2021-09-07 19:01:07 +02:00
queue Thread::Queue.new should accept an Enumerable [Feature #17327] 2021-02-12 12:21:49 +09:00
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 Update to ruby/spec@b1e93a2 2021-09-07 19:01:07 +02:00
regexp Update to ruby/spec@37e52e5 2021-02-27 13:00:26 +01:00
signal Update to ruby/spec@a0b7d0d 2021-06-02 14:34:07 +02:00
sizedqueue
string Update to ruby/spec@ccf0d85 2021-10-05 19:41:44 +02:00
struct Update to ruby/spec@b65d01f 2021-07-29 22:11:21 +02:00
symbol Update to ruby/spec@8cafaa5 2021-01-28 17:08:57 +01:00
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@b1e93a2 2021-09-07 19:01:07 +02:00
true
unboundmethod Use Integer instead of Fixnum/Bignum 2020-12-21 01:19:55 +09:00
warning Fix a spec failure 2021-07-17 13:24:08 +09:00