Skip to content
New issue

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

Incorrect module aliasing #1014

Open
thyresias opened this issue May 28, 2023 · 0 comments
Open

Incorrect module aliasing #1014

thyresias opened this issue May 28, 2023 · 0 comments

Comments

@thyresias
Copy link

File context.rb contains:

module Mod1
end

module Mod2
  Mod3 = Mod1
end

After executing rdoc context.rb:

  • the left "Class and Module Index" shows Mod3, Mod2, Mod3
  • clicking on the first "Mod3" leads to "module Mod1"
  • clicking on the second "Mod3" leads to "module Mod3"

What should have been generated:

  • the left "Class and Module Index" shows Mod1, Mod2, Mod2::Mod3
  • clicking on "Mod1" leads to "module Mod1"
  • clicking on "Mod2::Mod3" leads to "module Mod1"

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant