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
+3-1
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,9 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
103
103
valsemanticdbTarget:Setting[String] =PathSetting("-semanticdb-target", "Specify an alternative output directory for SemanticDB files.", "")
104
104
105
105
valdeprecation:Setting[Boolean] =BooleanSetting("-deprecation", "Emit warning and location for usages of deprecated APIs.", aliases =List("--deprecation"))
106
-
valexplainTypes:Setting[Boolean] =BooleanSetting("-explain-types", "Explain type errors in more detail.", aliases =List("--explain-types"))
106
+
valexplainTypes:Setting[Boolean] =BooleanSetting("-explain-types", "Explain type errors in more detail (deprecated, use -explain instead).", aliases =List("--explain-types"))
107
+
// this setting is necessary for cross compilation, since it is mentioned in sbt-tpolecat, for instance
108
+
// it is otherwise subsumed by -explain, and should be dropped as soon as we can.
107
109
valexplain:Setting[Boolean] =BooleanSetting("-explain", "Explain errors in more detail.", aliases =List("--explain"))
108
110
valfeature:Setting[Boolean] =BooleanSetting("-feature", "Emit warning and location for usages of features that should be imported explicitly.", aliases =List("--feature"))
109
111
valrelease:Setting[String] =ChoiceSetting("-release", "release", "Compile code with classes specific to the given version of the Java platform available on the classpath and emit bytecode for this version.", supportedReleaseVersions, "", aliases =List("--release"))
0 commit comments