summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-09-12 07:55:49 -0700
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2013-09-12 07:55:49 -0700
commit289fbcb15f2bbab3db1a5ef7df340c7e48d8ab2d (patch)
tree8e957b805fd3f0594ce705e258cda68b70ffd7f7
parentcbcee309bebcbe475afbbbc8cc53b7bb6f25e700 (diff)
parent3bfec2c2e2ba4b33154e276db7df8681bb6c41df (diff)
downloadscala-289fbcb15f2bbab3db1a5ef7df340c7e48d8ab2d.tar.gz
scala-289fbcb15f2bbab3db1a5ef7df340c7e48d8ab2d.tar.bz2
scala-289fbcb15f2bbab3db1a5ef7df340c7e48d8ab2d.zip
Merge pull request #2939 from retronym/topic/infer-debug
Deprecate -Yinfer-debug
-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