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-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,8 @@ 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
-
119
+
valpreview:Setting[Boolean] =BooleanSetting(RootSetting, "preview", "Enable the use of preview features anywhere in the project.")
120
+
120
121
/* Coverage settings */
121
122
valcoverageOutputDir=PathSetting(RootSetting, "coverage-out", "Destination for coverage classfiles and instrumentation data.", "", aliases =List("--coverage-out"))
122
123
valcoverageExcludeClasslikes:Setting[List[String]] =MultiStringSetting(RootSetting, "coverage-exclude-classlikes", "packages, classes and modules", "List of regexes for packages, classes and modules to exclude from coverage.", aliases =List("--coverage-exclude-classlikes"))
0 commit comments