mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
811fd0a6b4
The constant reference A::B used to trigger autoloading causes a warning to be logged about the possible use of :: in a void context so assign it to the _ variable to prevent the warnings from being triggered.
4 lines
81 B
Ruby
4 lines
81 B
Ruby
Throws = 1
|
|
_ = A::B # Autoloading recursion, expected to be discarded.
|
|
|
|
throw :t
|