Skip to content

Incorrect module aliasing #1014

Closed
Closed

Description

@thyresias

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.

Activity

  1. added a commit that references this issue on Dec 21, 2025
    09630a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions