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

Scaladoc: Predef, deprecated annotation of implicit class `any2stringadd` not shown #11527

Closed
Sciss opened this issue May 12, 2019 · 1 comment

Comments

Projects
None yet
5 participants
@Sciss
Copy link

commented May 12, 2019

The docs don't show deprecation:

https://www.scala-lang.org/api/2.13.0-RC1/scala/Predef$$any2stringadd.html

Although it's annotated that way in the source code: https://github.com/scala/scala/blob/v2.13.0-RC1/src/library/scala/Predef.scala#L377-L380

(perhaps related to #11393 ?)

@Sciss Sciss changed the title Scaladoc: Predef, deprecated modifier of implicit class `any2stringadd` not shown Scaladoc: Predef, deprecated annotation of implicit class `any2stringadd` not shown May 12, 2019

@adriaanm

This comment has been minimized.

Copy link
Member

commented May 15, 2019

I assume this is because it's meta-annotated with @companionMethod.

@eed3si9n eed3si9n self-assigned this May 16, 2019

eed3si9n added a commit to eed3si9n/scala that referenced this issue May 16, 2019

Deprecate the companionClass of any2stringadd
Fixes scala/bug#11527
Ref scala#6315

This is so we get the deprecation on the API documentation.

@eed3si9n eed3si9n added the has PR label May 16, 2019

@SethTisue SethTisue added this to the 2.13.1 milestone May 17, 2019

@dwijnand dwijnand modified the milestones: 2.13.1, 2.13.0-RC3 May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.