summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-06-10 12:32:06 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-07-04 15:49:07 +0200
commite08735380e8cba8f4b7230f5615e528782a0111a (patch)
treec1719135c315a32db4f921aebbb6d6e0f56eb0a8 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala
parent62c8f90f3105b8f19a9f29f104ff232438372c73 (diff)
downloadscala-e08735380e8cba8f4b7230f5615e528782a0111a.tar.gz
scala-e08735380e8cba8f4b7230f5615e528782a0111a.tar.bz2
scala-e08735380e8cba8f4b7230f5615e528782a0111a.zip
Track symbol that caused a deprecation warning.
So that we can filter deprecations based on defining package. Configurable error reporting will support a rule like: "In compilation unit X, escalate deprecation warnings that result from accessing members in package P that have been deprecated since version V. Report an error instead of a warning for those." TODO: remove deprecationWarning overload that doesn't take a `Symbol`? (Replace by a default value of `NoSymbol` for the deprecated symbol arg?)
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
0 files changed, 0 insertions, 0 deletions