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
+5-3
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ trait CommonScalaSettings:
116
116
valunchecked:Setting[Boolean] =BooleanSetting(RootSetting, "unchecked", "Enable additional warnings where generated code depends on assumptions.", initialValue =true, aliases =List("--unchecked"))
117
117
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"))
118
118
valexperimental:Setting[Boolean] =BooleanSetting(RootSetting, "experimental", "Annotate all top-level definitions with @experimental. This enables the use of experimental features anywhere in the project.")
119
+
valpreview:Setting[Boolean] =BooleanSetting(RootSetting, "preview", "Enable the use of preview features anywhere in the project.")
119
120
120
121
/* Coverage settings */
121
122
valcoverageOutputDir=PathSetting(RootSetting, "coverage-out", "Destination for coverage classfiles and instrumentation data.", "", aliases =List("--coverage-out"))
0 commit comments