Skip to content

Scaladoc does not show this.type result type #15426

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

Closed
som-snytt opened this issue Jun 12, 2022 · 0 comments · Fixed by #15440
Closed

Scaladoc does not show this.type result type #15426

som-snytt opened this issue Jun 12, 2022 · 0 comments · Fixed by #15440
Assignees
Milestone

Comments

@som-snytt
Copy link
Contributor

What's the problem

https://www.scala-lang.org/api/current/scala/collection/mutable/Growable.html#addOne(elem:A):Growable.this.type

abstract def addOne(elem: A): Growable.this.type

or snipped of markdown

abstract def addOne(elem: A): Growable.this.type

https://www.scala-lang.org/api/3.1.2/scala/collection/mutable/Growable.html#addOne-b4a

def addOne(elem: A): Growable[A]

or snipped of markdown

def addOne(elem: A): Growable[A]

Expectation

The Scala 3 Scaladoc should show the correct result type, as in Scala 2.

@som-snytt som-snytt added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Jun 12, 2022
@KacperFKorban KacperFKorban added area:doctool and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Jun 13, 2022
@Kordyjan Kordyjan added this to the 3.2.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants