summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-09-12 11:55:36 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-09-12 11:57:02 +0200
commit3bfec2c2e2ba4b33154e276db7df8681bb6c41df (patch)
tree667c9d3d6f212ef08c4e35e0e6cd364ca4e04251 /src
parent9788e7a1f1809491154c2bcb47d3061b11c1d8a8 (diff)
downloadscala-3bfec2c2e2ba4b33154e276db7df8681bb6c41df.tar.gz
scala-3bfec2c2e2ba4b33154e276db7df8681bb6c41df.tar.bz2
scala-3bfec2c2e2ba4b33154e276db7df8681bb6c41df.zip
Deprecate -Yinfer-debug
Since 4d6be05c2 it has been ignored, being subsumed by -Ytyper-debug. This commit makes it an deprecated alias for -Ytyper-debug. We'd be within our rights to remove it outright, but we've got a nice deprecation mechanism for settings, so let's use that for a release.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/settings/ScalaSettings.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
index 32f0571e83..b37d0ba283 100644
--- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
+++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
@@ -182,7 +182,6 @@ trait ScalaSettings extends AbsScalaSettings
*/
val Ydocdebug = BooleanSetting("-Ydoc-debug", "Trace all scaladoc activity.")
val Yidedebug = BooleanSetting("-Yide-debug", "Generate, validate and output trees using the interactive compiler.")
- val Yinferdebug = BooleanSetting("-Yinfer-debug", "Trace type inference and implicit search.")
val Yissuedebug = BooleanSetting("-Yissue-debug", "Print stack traces when a context issues an error.")
val YmacrodebugLite = BooleanSetting("-Ymacro-debug-lite", "Trace essential macro-related activities.")
val YmacrodebugVerbose = BooleanSetting("-Ymacro-debug-verbose", "Trace all macro-related activities: compilation, generation of synthetics, classloading, expansion, exceptions.")
@@ -193,6 +192,9 @@ trait ScalaSettings extends AbsScalaSettings
val Ypatmatdebug = BooleanSetting("-Ypatmat-debug", "Trace pattern matching translation.")
val Yquasiquotedebug = BooleanSetting("-Yquasiquote-debug", "Trace quasiquote-related activities.")
+ // TODO 2.12 Remove
+ val Yinferdebug = BooleanSetting("-Yinfer-debug", "Trace type inference and implicit search.") withDeprecationMessage("Use -Ytyper-debug") enabling(List(Ytyperdebug))
+
/** Groups of Settings.
*/
val future = BooleanSetting("-Xfuture", "Turn on future language features.") enabling futureSettings