diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2012-09-29 16:41:11 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2012-09-29 16:41:11 +0200 |
commit | 4a40d83a5a4a357c8eeecb4f1dc3a15533aa76ca (patch) | |
tree | e3aa27048d9415e2bd03277262fdbf405007d1e2 /src/compiler | |
parent | ac311c4f7be3353c8f13396d4c7d21f2c0887005 (diff) | |
download | scala-4a40d83a5a4a357c8eeecb4f1dc3a15533aa76ca.tar.gz scala-4a40d83a5a4a357c8eeecb4f1dc3a15533aa76ca.tar.bz2 scala-4a40d83a5a4a357c8eeecb4f1dc3a15533aa76ca.zip |
SI-6449 Adds version arg to @deprecated usages (non-compiler sources)
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala b/src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala index 86bf1f1efd..48624ec28f 100644 --- a/src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala +++ b/src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala @@ -861,7 +861,7 @@ class ModelFactory(val global: Global, val settings: doc.Settings) { inTpl.members.find(_.sym == aSym) } - @deprecated("2.10", "Use findLinkTarget instead!") + @deprecated("Use `findLinkTarget` instead.", "2.10.0") def findTemplate(query: String): Option[DocTemplateImpl] = { assert(modelFinished) docTemplatesCache.values find { (tpl: DocTemplateImpl) => tpl.qualifiedName == query && !packageDropped(tpl) && !tpl.isObject } |