summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Settings.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-01-28 22:55:42 +0000
committerPaul Phillips <paulp@improving.org>2010-01-28 22:55:42 +0000
commitf5dc89196d6a0ed9738ab1c97f76d15223a678a3 (patch)
tree4dd959e7245046147ced0642b6106cbf4a2bd19a /src/compiler/scala/tools/nsc/Settings.scala
parent690542dbe4743e5c4fcc9ca4497351cde339391d (diff)
downloadscala-f5dc89196d6a0ed9738ab1c97f76d15223a678a3.tar.gz
scala-f5dc89196d6a0ed9738ab1c97f76d15223a678a3.tar.bz2
scala-f5dc89196d6a0ed9738ab1c97f76d15223a678a3.zip
Added a command line option for desugaring matc...
Added a command line option for desugaring match blocks differently for debugging purposes. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Settings.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Settings.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala
index 6cf232b368..05e12760a2 100644
--- a/src/compiler/scala/tools/nsc/Settings.scala
+++ b/src/compiler/scala/tools/nsc/Settings.scala
@@ -925,6 +925,7 @@ trait ScalacSettings {
BooleanSetting ("-Ybuild-manager-debug", "Generate debug information for the Refined Build Manager compiler.")
val Ytyperdebug = BooleanSetting ("-Ytyper-debug", "Trace all type assignements")
val Ypmatdebug = BooleanSetting ("-Ypmat-debug", "Trace all pattern matcher activity.")
+ val Ypmatnaive = BooleanSetting ("-Ypmat-naive", "Desugar matches as naively as possible..")
val Ytailrec = BooleanSetting ("-Ytailrecommend", "Alert methods which would be tail-recursive if private or final.")
val Yjenkins = BooleanSetting ("-Yjenkins-hashCodes", "Use jenkins hash algorithm for case class generated hashCodes.")