scala / scala3

The Scala 3 compiler, also known as Dotty.
https://dotty.epfl.ch
Apache License 2.0
5.81k stars 1.05k forks source link

Scaladoc does not show deprecation message #20118

Open mwisnicki opened 5 months ago

mwisnicki commented 5 months ago

https://www.scala-lang.org/api/3.4.1/scala/reflect/ClassManifestDeprecatedApis.html shows:

Deprecated true

https://github.com/scala/scala/blob/80514f73a6c7db32df9887d9a5ca9ae921e25118/src/library/scala/reflect/ClassManifestDeprecatedApis.scala#L21

@deprecated("use scala.reflect.ClassTag instead", "2.10.0")
som-snytt commented 5 months ago

Probably there is a design discussion somewhere, but just yesterday I was appreciating the obvious ~strike-thru~ to indicate deprecation in Scaladoc 2. I would actually prefer the international symbol 🔴 I mean the red circle with strike-thru, here is the emoji via twitter: image

Plus the message, of course.