diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2016-04-02 12:40:25 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2016-05-27 16:39:25 +0200 |
commit | 981e3c51d5040ea808b5f699718db55241ee42cf (patch) | |
tree | ad8afe7b037d9eca729980b9a1d2af6ec324bb28 /src | |
parent | 6b2037a2161de650fdbb010ba1da23d843247234 (diff) | |
download | scala-981e3c51d5040ea808b5f699718db55241ee42cf.tar.gz scala-981e3c51d5040ea808b5f699718db55241ee42cf.tar.bz2 scala-981e3c51d5040ea808b5f699718db55241ee42cf.zip |
SI-9483 Add `since` to `@deprecatedName`
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/deprecatedName.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/library/scala/deprecatedName.scala b/src/library/scala/deprecatedName.scala index a0d3aa829b..da8b76efc9 100644 --- a/src/library/scala/deprecatedName.scala +++ b/src/library/scala/deprecatedName.scala @@ -29,6 +29,4 @@ import scala.annotation.meta._ * @since 2.8.1 */ @param -class deprecatedName(name: Symbol) extends scala.annotation.StaticAnnotation { - def this() = this(Symbol("<none>")) -} +class deprecatedName(name: Symbol = Symbol("<none>"), since: String = "") extends scala.annotation.StaticAnnotation |