We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code demonstrates the faulty behaviour:
class Foo::Bar end module Baz class Foo::Bar def baz end end end Baz::Foo::Bar # Error: undefined constant Baz::Foo::Bar ::Foo::Bar.new.baz # works!
Apparently, class Foo::Bar inside the Baz namespace is not actually placed in that namespace. It reopens ::Foo::Bar instead of defining Baz::Foo::Bar.
class Foo::Bar
Baz
::Foo::Bar
Baz::Foo::Bar
Originally reported in #11180
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The following code demonstrates the faulty behaviour:
Apparently,
class Foo::Bar
inside theBaz
namespace is not actually placed in that namespace. It reopens::Foo::Bar
instead of definingBaz::Foo::Bar
.Originally reported in #11180
The text was updated successfully, but these errors were encountered: