mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ae07806858
The check for circular loading should depend on a stack of files being loaded at the moment, rather than the collection of loaded files. This showed up indirectly in #16468, where a misspelled helper would incorrectly result in a circularity error message. References #16468 |
||
---|---|---|
.. | ||
a | ||
class_folder | ||
html | ||
load_path | ||
module_folder | ||
module_with_custom_const_missing/a | ||
application.rb | ||
circular1.rb | ||
circular2.rb | ||
class_folder.rb | ||
conflict.rb | ||
counting_loader.rb | ||
cross_site_dependency.rb | ||
e.rb | ||
loads_constant.rb | ||
multiple_constant_file.rb | ||
raises_name_error.rb | ||
raises_no_method_error.rb | ||
requires_constant.rb | ||
should_not_be_required.rb | ||
typo.rb |