diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-02-20 11:46:35 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-02-20 13:08:25 +0100 |
commit | ae43a298144842861bd8532b88aec7178c16ccb3 (patch) | |
tree | 763aa7881f4d71a562b27627d4e76df13b2416c5 /compiler/src/dotty/tools/dotc/config/ScalaSettings.scala | |
parent | 2f5b1f81bca206e7bfd684a41a2ade787ef2bc19 (diff) | |
download | dotty-ae43a298144842861bd8532b88aec7178c16ccb3.tar.gz dotty-ae43a298144842861bd8532b88aec7178c16ccb3.tar.bz2 dotty-ae43a298144842861bd8532b88aec7178c16ccb3.zip |
Make non-existent compiler options emit warnings instead of failing
Diffstat (limited to 'compiler/src/dotty/tools/dotc/config/ScalaSettings.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/config/ScalaSettings.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala index 9aac7836c..fd79fcaa6 100644 --- a/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala +++ b/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala @@ -26,8 +26,6 @@ class ScalaSettings extends Settings.SettingGroup { val explain = BooleanSetting("-explain", "Explain errors in more detail.") val feature = BooleanSetting("-feature", "Emit warning and location for usages of features that should be imported explicitly.") val help = BooleanSetting("-help", "Print a synopsis of standard options") - // FIXME: `-nowarn` is not used in the compiler, but sbt passes this as an option - val nowarn = BooleanSetting("-nowarn", "Generate no warnings.") val color = ChoiceSetting("-color", "mode", "Colored output", List("always", "never"/*, "auto"*/), "always"/* "auto"*/) val target = ChoiceSetting("-target", "target", "Target platform for object files. All JVM 1.5 targets are deprecated.", List("jvm-1.5", "jvm-1.5-fjbg", "jvm-1.5-asm", "jvm-1.6", "jvm-1.7", "jvm-1.8", "msil"), "jvm-1.8") |