We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70f063d + fac9625 commit 735ba03Copy full SHA for 735ba03
library/src/scala/deprecated.scala
@@ -40,6 +40,9 @@ import scala.annotation.meta._
40
* // warning: there were three deprecation warnings in total; re-run with -deprecation for details
41
* }}}
42
*
43
+ * The Scala compiler also warns about using definitions annotated with [[java.lang.Deprecated]]. However it is
44
+ * recommended to use the Scala `@deprecated` annotation in Scala code because it allows providing a deprecation message.
45
+ *
46
* '''`@deprecated` in the Scala language and its standard library'''<br/>
47
48
* A deprecated element of the Scala language or a definition in the Scala standard library will
0 commit comments