You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,8 @@ class ScalaSettings extends Settings.SettingGroup {
48
48
valsilentWarnings:Setting[Boolean] =BooleanSetting("-nowarn", "Silence all warnings.") withAbbreviation "--no-warnings"
49
49
valfromTasty:Setting[Boolean] =BooleanSetting("-from-tasty", "Compile classes from tasty in classpath. The arguments are used as class names.") withAbbreviation "--from-tasty"
50
50
51
-
valnewSyntax:Setting[Boolean] =BooleanSetting("-new-syntax", "When used with -rewrite, produces control expressions without parentheses")
52
-
valoldSyntax:Setting[Boolean] =BooleanSetting("-old-syntax", "when used with -rewrite, produces control expressions with parentheses")
51
+
valnewSyntax:Setting[Boolean] =BooleanSetting("-new-syntax", "Require `then` and `do` in control expressions")
52
+
valoldSyntax:Setting[Boolean] =BooleanSetting("-old-syntax", "Require `(...)` around conditions")
53
53
54
54
/** Decompiler settings */
55
55
valprintTasty:Setting[Boolean] =BooleanSetting("-print-tasty", "Prints the raw tasty.") withAbbreviation "--print-tasty"
0 commit comments