Skip to content

Commit 1eba05e

Browse files
committed
Java8 is the default target
1 parent 4c11ecd commit 1eba05e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/config/ScalaSettings.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class ScalaSettings extends Settings.SettingGroup {
2626
val nowarn = BooleanSetting("-nowarn", "Generate no warnings.")
2727
val print = BooleanSetting("-print", "Print program with Scala-specific features removed.")
2828
val target = ChoiceSetting("-target", "target", "Target platform for object files. All JVM 1.5 targets are deprecated.",
29-
List("jvm-1.5", "jvm-1.5-fjbg", "jvm-1.5-asm", "jvm-1.6", "jvm-1.7", "msil"),
30-
"jvm-1.6")
29+
List("jvm-1.5", "jvm-1.5-fjbg", "jvm-1.5-asm", "jvm-1.6", "jvm-1.7", "jvm-1.8", "msil"),
30+
"jvm-1.8")
3131
val unchecked = BooleanSetting("-unchecked", "Enable additional warnings where generated code depends on assumptions.")
3232
val uniqid = BooleanSetting("-uniqid", "Uniquely tag all identifiers in debugging output.")
3333
val usejavacp = BooleanSetting("-usejavacp", "Utilize the java.class.path in classpath resolution.")

0 commit comments

Comments
 (0)