Skip to content
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

No way to refer to generic type parameters in scaladoc #21806

Open
mwisnicki opened this issue Oct 18, 2024 · 0 comments
Open

No way to refer to generic type parameters in scaladoc #21806

mwisnicki opened this issue Oct 18, 2024 · 0 comments
Labels
itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label

Comments

@mwisnicki
Copy link

mwisnicki commented Oct 18, 2024

Compiler version

3.3.3

Minimized code

/**
 * Just some generic [[Foo]] with type parameter [[T]]
 * @tparam T some type
 */
type Foo[T] = T

sbt doc

Output

No DRI found for query: T

Expectation

[[T]] links to type parameter.

Additionally would be useful to have syntax to refer to type parameters of other types, i.e. [[Foo#T]].

This was a problem with Scala 2 as well: scala/bug#12033

@mwisnicki mwisnicki added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label
Projects
None yet
Development

No branches or pull requests

1 participant