summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-09-16 14:10:29 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-09-16 14:10:29 +0000
commit9ffe29d61ad3d70193790e7ee74a8d351047fe94 (patch)
treebcbed58e59d439c6d506f7b11d51f78c41e9d72f /src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
parentbe57a47dcf257df8efef485e126b9b39c878e0b8 (diff)
downloadscala-9ffe29d61ad3d70193790e7ee74a8d351047fe94.tar.gz
scala-9ffe29d61ad3d70193790e7ee74a8d351047fe94.tar.bz2
scala-9ffe29d61ad3d70193790e7ee74a8d351047fe94.zip
Amend previous commit by suppressing type error...
Amend previous commit by suppressing type errors for syntactically incorrect units only when -Ypresentation-strict is set. no review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/ScalaSettings.scala')
-rw-r--r--src/compiler/scala/tools/nsc/settings/ScalaSettings.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
index 68496b61ce..b51eeabfce 100644
--- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
+++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala
@@ -180,6 +180,7 @@ trait ScalaSettings extends AbsScalaSettings
*/
val YpresentationVerbose = BooleanSetting("-Ypresentation-verbose", "Print information about presentation compiler tasks.")
val YpresentationDebug = BooleanSetting("-Ypresentation-debug", "Enable debugging output for the presentation compiler.")
+ val YpresentationStrict = BooleanSetting("-Ypresentation-strict", "Do not report type errors in sources with syntax errors.")
val YpresentationLog = StringSetting("-Ypresentation-log", "file", "Log presentation compiler events into file", "")
val YpresentationReplay = StringSetting("-Ypresentation-replay", "file", "Replay presentation compiler events from file", "")