Skip to content

Incorrect module aliasing #1014

@thyresias

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.

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