summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-14 09:38:44 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-08-14 09:38:44 +0000
commit0737e96229e710d81b29e1eb6e6daa449ed1eea2 (patch)
tree35c1170a747ea5a4e7c3f2266f55c84bbac0b7a1 /src
parentecff1202b11718942c3cd2b9b34d32cfe597a58e (diff)
downloadscala-0737e96229e710d81b29e1eb6e6daa449ed1eea2.tar.gz
scala-0737e96229e710d81b29e1eb6e6daa449ed1eea2.tar.bz2
scala-0737e96229e710d81b29e1eb6e6daa449ed1eea2.zip
Changed -Ycheckinit to -Xcheckinit.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/Settings.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala
index 9ec295fd89..712b2ed33c 100644
--- a/src/compiler/scala/tools/nsc/Settings.scala
+++ b/src/compiler/scala/tools/nsc/Settings.scala
@@ -92,7 +92,6 @@ class Settings(error: String => Unit) {
val outdir = StringSetting ("-d", "directory", "Specify where to place generated class files", ".").hideToIDE
val encoding = StringSetting ("-encoding", "encoding", "Specify character encoding used by source files", Properties.encodingString).hideToIDE
val target = ChoiceSetting ("-target", "Specify for which target object files should be built", List("jvm-1.5", "jvm-1.4", "msil"), "jvm-1.5")
- val checkInit = BooleanSetting ("-Ycheckinit", "Add runtime checks on field accessors. Uninitialized accesses result in an exception being thrown.")
val printLate = BooleanSetting ("-print", "Print program with all Scala-specific features removed").hideToIDE
val XO = BooleanSetting ("-optimise", "Generates faster bytecode by applying optimisations to the program")
val explaintypes = BooleanSetting ("-explaintypes", "Explain type errors in more detail").hideToIDE
@@ -104,6 +103,7 @@ class Settings(error: String => Unit) {
val assemname = StringSetting ("-Xassem", "file", "Name of the output assembly (only relevant with -target:msil)", "").dependsOn(target, "msil").hideToIDE
val assemrefs = StringSetting ("-Xassem-path", "path", "List of assemblies referenced by the program (only relevant with -target:msil)", ".").dependsOn(target, "msil").hideToIDE
val Xchecknull = BooleanSetting ("-Xcheck-null", "Emit warning on selection of nullable reference")
+ val checkInit = BooleanSetting ("-Xcheckinit", "Add runtime checks on field accessors. Uninitialized accesses result in an exception being thrown.")
val noassertions = BooleanSetting ("-Xdisable-assertions", "Generate no assertions and assumptions")
val Xexperimental = BooleanSetting ("-Xexperimental", "Enable experimental extensions")
val XlogImplicits = BooleanSetting ("-Xlog-implicits", "Show more info on why some implicits are not applicable")