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
valsemanticdbTarget:Setting[String] =PathSetting(RootSetting, "semanticdb-target", "Specify an alternative output directory for SemanticDB files.", "")
77
83
valsemanticdbText:Setting[Boolean] =BooleanSetting(RootSetting, "semanticdb-text", "Specifies whether to include source code in SemanticDB files or not.")
valuniqid:Setting[Boolean] =BooleanSetting(RootSetting, "uniqid", "Uniquely tag all identifiers in debugging output.", aliases =List("--unique-id"))
81
87
valrewrite:Setting[Option[Rewrites]] =OptionSetting[Rewrites](RootSetting, "rewrite", "When used in conjunction with a `...-migration` source version, rewrites sources to migrate to new version.", aliases =List("--rewrite"))
82
88
valfromTasty:Setting[Boolean] =BooleanSetting(RootSetting, "from-tasty", "Compile classes from tasty files. The arguments are .tasty or .jar files.", aliases =List("--from-tasty"))
valclasspath:Setting[String] =PathSetting(RootSetting, "classpath", "Specify where to find user class files.", ScalaSettings.defaultClasspath, aliases =List("-cp", "--class-path"))
128
+
valclasspath:Setting[String] =PathSetting(RootSetting, "classpath", "Specify where to find user class files.", ScalaSettingsProperties.defaultClasspath, aliases =List("-cp", "--class-path"))
123
129
valoutputDir:Setting[AbstractFile] =OutputSetting(RootSetting, "d", "directory|jar", "Destination for generated classfiles.",
valsilentWarnings:Setting[Boolean] =BooleanSetting(RootSetting, "nowarn", "Silence all warnings.", aliases =List("--no-warnings"))
131
137
132
-
valjavaOutputVersion:Setting[String] =ChoiceSetting(RootSetting, "java-output-version", "version", "Compile code with classes specific to the given version of the Java platform available on the classpath and emit bytecode for this version. Corresponds to -release flag in javac.", ScalaSettings.supportedReleaseVersions, "", aliases =List("-release", "--release"))
138
+
valjavaOutputVersion:Setting[String] =ChoiceSetting(RootSetting, "java-output-version", "version", "Compile code with classes specific to the given version of the Java platform available on the classpath and emit bytecode for this version. Corresponds to -release flag in javac.", ScalaSettingsProperties.supportedReleaseVersions, "", aliases =List("-release", "--release"))
133
139
134
140
valdeprecation:Setting[Boolean] =BooleanSetting(RootSetting, "deprecation", "Emit warning and location for usages of deprecated APIs.", aliases =List("--deprecation"))
135
141
valfeature:Setting[Boolean] =BooleanSetting(RootSetting, "feature", "Emit warning and location for usages of features that should be imported explicitly.", aliases =List("--feature"))
valWhelp:Setting[Boolean] =BooleanSetting(WarningSetting, "-W", "Print a synopsis of warning options.")
185
-
valXfatalWarnings:Setting[Boolean] =BooleanSetting(WarningSetting, "-Werror", "Fail the compilation if there are any warnings.", aliases =List("-Xfatal-warnings"))
186
-
valWvalueDiscard:Setting[Boolean] =BooleanSetting(WarningSetting, "-Wvalue-discard", "Warn when non-Unit expression results are unused.")
187
-
valWNonUnitStatement=BooleanSetting(WarningSetting, "-Wnonunit-statement", "Warn when block statements are non-Unit expressions.")
188
-
valWenumCommentDiscard=BooleanSetting(WarningSetting, "-Wenum-comment-discard", "Warn when a comment ambiguously assigned to multiple enum cases is discarded.")
189
-
valWimplausiblePatterns=BooleanSetting(WarningSetting, "-Wimplausible-patterns", "Warn if comparison with a pattern value looks like it might always fail.")
190
-
valWunstableInlineAccessors=BooleanSetting(WarningSetting, "-WunstableInlineAccessors", "Warn an inline methods has references to non-stable binary APIs.")
190
+
valWhelp:Setting[Boolean] =BooleanSetting(WarningSetting, "W", "Print a synopsis of warning options.")
191
+
valXfatalWarnings:Setting[Boolean] =BooleanSetting(WarningSetting, "Werror", "Fail the compilation if there are any warnings.", aliases =List("-Xfatal-warnings"))
192
+
valWvalueDiscard:Setting[Boolean] =BooleanSetting(WarningSetting, "Wvalue-discard", "Warn when non-Unit expression results are unused.")
193
+
valWNonUnitStatement=BooleanSetting(WarningSetting, "Wnonunit-statement", "Warn when block statements are non-Unit expressions.")
194
+
valWenumCommentDiscard=BooleanSetting(WarningSetting, "Wenum-comment-discard", "Warn when a comment ambiguously assigned to multiple enum cases is discarded.")
195
+
valWimplausiblePatterns=BooleanSetting(WarningSetting, "Wimplausible-patterns", "Warn if comparison with a pattern value looks like it might always fail.")
196
+
valWunstableInlineAccessors=BooleanSetting(WarningSetting, "WunstableInlineAccessors", "Warn an inline methods has references to non-stable binary APIs.")
valXverifySignatures:Setting[Boolean] =BooleanSetting(AdvancedSetting, "Xverify-signatures", "Verify generic signatures in generated bytecode.")
338
344
valXignoreScala2Macros:Setting[Boolean] =BooleanSetting(AdvancedSetting, "Xignore-scala2-macros", "Ignore errors when compiling code that calls Scala2 macros, these will fail at runtime.")
339
345
valXimportSuggestionTimeout:Setting[Int] =IntSetting(AdvancedSetting, "Ximport-suggestion-timeout", "Timeout (in ms) for searching for import suggestions when errors are reported.", 8000)
340
-
valXsemanticdb:Setting[Boolean] =BooleanSetting(AdvancedSetting, "Xsemanticdb", "Store information in SemanticDB.", aliases =List(ForkSetting, "semanticdb"))
341
-
valXuncheckedJavaOutputVersion:Setting[String] =ChoiceSetting(AdvancedSetting, "Xunchecked-java-output-version", "target", "Emit bytecode for the specified version of the Java platform. This might produce bytecode that will break at runtime. Corresponds to -target flag in javac. When on JDK 9+, consider -java-output-version as a safer alternative.", ScalaSettings.supportedTargetVersions, "", aliases =List("-Xtarget", "--Xtarget"))
346
+
valXsemanticdb:Setting[Boolean] =BooleanSetting(AdvancedSetting, "Xsemanticdb", "Store information in SemanticDB.", aliases =List("-Ysemanticdb"))
347
+
valXuncheckedJavaOutputVersion:Setting[String] =ChoiceSetting(AdvancedSetting, "Xunchecked-java-output-version", "target", "Emit bytecode for the specified version of the Java platform. This might produce bytecode that will break at runtime. Corresponds to -target flag in javac. When on JDK 9+, consider -java-output-version as a safer alternative.", ScalaSettingsProperties.supportedTargetVersions, "", aliases =List("-Xtarget", "--Xtarget"))
342
348
valXcheckMacros:Setting[Boolean] =BooleanSetting(AdvancedSetting, "Xcheck-macros", "Check some invariants of macro generated code while expanding macros", aliases =List("--Xcheck-macros"))
343
349
valXmainClass:Setting[String] =StringSetting(AdvancedSetting, "Xmain-class", "path", "Class for manifest's Main-Class entry (only useful with -d <jar>)", "")
344
350
valXimplicitSearchLimit:Setting[Int] =IntSetting(AdvancedSetting, "Ximplicit-search-limit", "Maximal number of expressions to be generated in an implicit search", 50000)
valYtestPickler:Setting[Boolean] =BooleanSetting(ForkSetting, "test-pickler", "Self-test for pickling functionality; should be used with -Ystop-after:pickler.")
417
423
valYtestPicklerCheck:Setting[Boolean] =BooleanSetting(ForkSetting, "test-pickler-check", "Self-test for pickling -print-tasty output; should be used with -Ytest-pickler.")
418
424
valYcheckReentrant:Setting[Boolean] =BooleanSetting(ForkSetting, "check-reentrant", "Check that compiled program does not contain vars that can be accessed from a global root.")
valYreadComments:Setting[Boolean] =BooleanSetting(ForkSetting, "read-docs", "Read documentation from tasty.")
422
428
valYforceSbtPhases:Setting[Boolean] =BooleanSetting(ForkSetting, "force-sbt-phases", "Run the phases used by sbt for incremental compilation (ExtractDependencies and ExtractAPI) even if the compiler is ran outside of sbt, for debugging.")
423
429
valYdumpSbtInc:Setting[Boolean] =BooleanSetting(ForkSetting, "dump-sbt-inc", "For every compiled foo.scala, output the API representation and dependencies used for sbt incremental compilation in foo.inc, implies -Yforce-sbt-phases.")
0 commit comments