diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-03-23 21:25:26 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-03-23 21:25:26 +0100 |
commit | e6e5b146f19ac7bebf046a4bc0cbc0b8ce88a3a1 (patch) | |
tree | 931ced52d7e95f7c82505519ace151b8dfc17595 /src/library | |
parent | b40b81cd3b1cd8b8b93df3b912fa10ccf1b53b26 (diff) | |
parent | e99378fcfb367bd91969f25d21ccf784315ce7c0 (diff) | |
download | scala-e6e5b146f19ac7bebf046a4bc0cbc0b8ce88a3a1.tar.gz scala-e6e5b146f19ac7bebf046a4bc0cbc0b8ce88a3a1.tar.bz2 scala-e6e5b146f19ac7bebf046a4bc0cbc0b8ce88a3a1.zip |
Merge pull request #4302 from som-snytt/issue/deprecate-named-param
SI-9140 Allow deprecating current parameter name
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/deprecatedName.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library/scala/deprecatedName.scala b/src/library/scala/deprecatedName.scala index 07c5c8925c..a0d3aa829b 100644 --- a/src/library/scala/deprecatedName.scala +++ b/src/library/scala/deprecatedName.scala @@ -29,4 +29,6 @@ import scala.annotation.meta._ * @since 2.8.1 */ @param -class deprecatedName(name: Symbol) extends scala.annotation.StaticAnnotation +class deprecatedName(name: Symbol) extends scala.annotation.StaticAnnotation { + def this() = this(Symbol("<none>")) +} |