Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Different symbols have the same name and therefore the same anchor #227

Open
@Lukas-Stuehrk

Description

@Lukas-Stuehrk

It's possible to have functions, methods, operators etc. with the same names, but different types. One example would be the following class declaration:

public class SomeClass {

    public func someMethod(arg: String) {

    }

    public func someMethod(arg: Int) {

    }
}

This creates symbols with exactly the same name in the documentation:
Screenshot 2021-03-22 at 22 08 32

And for both methods we then create the same anchor #someclass.somemethod(arg:), therefore creating invalid HTML and making it impossible to directly link to the second method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions