Skip to content

Scala3doc: @targetName is ignored #10338

Open
@Kordyjan

Description

@Kordyjan

See the commented out test: https://github.com/lampepfl/dotty/blob/1ba60fafcec2190d7e5e99b0775a26e4b0e54002/scala3doc-testcases/src/tests/functionDRI.scala#L13-L18

Doctool is generating identical DRIs for functions that would have the same signature after erasure but have different targetNames, which is completely valid. Each function having a unique DRI is crucial for links to work properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions