Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make autoload dynamically dispatch to require. Fixes #5403.
- Loading branch information
Showing
3 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
fails:Kernel.autoload sets the autoload constant in Object's constant table | ||
fails:Kernel#autoload registers a file to load the first time the named constant is accessed | ||
fails:Kernel#autoload? returns the name of the file that will be autoloaded | ||
fails:Kernel#autoload when called from included module's method setups the autoload on the included module | ||
fails:Kernel#autoload when called from included module's method the autoload relative to the included module works | ||
fails:Kernel.autoload when called from included module's method setups the autoload on the included module | ||
fails:Kernel.autoload when called from included module's method the autoload is reacheable from the class too | ||
fails:Kernel.autoload when called from included module's method the autoload relative to the included module works | ||
fails:Kernel#autoload calls main.require(path) to load the file | ||
fails:Kernel#autoload registers a file to load the first time the named constant is accessed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
exclude :test_autoload_while_autoloading, "needs investigation" | ||
exclude :test_bug_13526, "racey test that doesn't behave as expected with concurrent threads #5294" | ||
exclude :test_require_implemented_in_ruby_is_called, "attempted to dispatch to require but it seems to recursively call itself" |