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
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ trait CommonScalaSettings:
113
113
valexplainTypes:Setting[Boolean] =BooleanSetting(RootSetting, "explain-types", "Explain type errors in more detail (deprecated, use -explain instead).", aliases =List("--explain-types", "-explaintypes"))
114
114
valexplainCyclic:Setting[Boolean] =BooleanSetting(RootSetting, "explain-cyclic", "Explain cyclic reference errors in more detail.", aliases =List("--explain-cyclic"))
115
115
valunchecked:Setting[Boolean] =BooleanSetting(RootSetting, "unchecked", "Enable additional warnings where generated code depends on assumptions.", initialValue =true, aliases =List("--unchecked"))
116
-
vallanguage:Setting[List[ChoiceWithHelp[String]]] =MultiChoiceHelpSetting(RootSetting, "language", "feature", "Enable one or more language features.", choices =ScalaSettingsProperties.supportedLanguageFeatures, legacyChoices =ScalaSettingsProperties.legacyLanguageFeatures, default =Nil, aliases =List("--language"))
116
+
vallanguage:Setting[List[ChoiceWithHelp[String]]] =MultiChoiceHelpSetting(RootSetting, "language", "feature", "Enable one or more language features.", choices =ScalaSettingsProperties.supportedLanguageFeatures, legacyChoices =ScalaSettingsProperties.legacyLanguageFeatures, aliases =List("--language"))
117
117
valexperimental:Setting[Boolean] =BooleanSetting(RootSetting, "experimental", "Annotate all top-level definitions with @experimental. This enables the use of experimental features anywhere in the project.")
118
118
valpreview:Setting[Boolean] =BooleanSetting(RootSetting, "preview", "Enable the use of preview features anywhere in the project.")
0 commit comments