summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-01 07:45:56 -0700
committerPaul Phillips <paulp@improving.org>2012-10-01 07:45:56 -0700
commit884b0828b3ddbcdb73416548fd0acccccd72b314 (patch)
treedd76a4c40eace7660009e4ba590ca43fd7fcb2f1 /src/compiler
parentbe49f36154efa78c3dcbeba394aa6ec2b5e764ec (diff)
parentb34afb227f0c41ec4cdedf52c553574824473d25 (diff)
downloadscala-884b0828b3ddbcdb73416548fd0acccccd72b314.tar.gz
scala-884b0828b3ddbcdb73416548fd0acccccd72b314.tar.bz2
scala-884b0828b3ddbcdb73416548fd0acccccd72b314.zip
Merge pull request #1424 from soc/SI-6449
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.scala2
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 }