Skip to content

Scala3doc: @targetName is ignored #10338

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

Open
Kordyjan opened this issue Nov 16, 2020 · 0 comments
Open

Scala3doc: @targetName is ignored #10338

Kordyjan opened this issue Nov 16, 2020 · 0 comments

Comments

@Kordyjan
Copy link
Contributor

Kordyjan commented Nov 16, 2020

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.

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

No branches or pull requests

2 participants