We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d4ef4 commit 521e80bCopy full SHA for 521e80b
main/src/main/scala/sbt/plugins/SemanticdbPlugin.scala
@@ -43,7 +43,9 @@ object SemanticdbPlugin extends AutoPlugin {
43
},
44
semanticdbOptions += {
45
val sv = scalaVersion.value
46
- if (ScalaInstance.isDotty(sv)) "-Ysemanticdb"
+ if (sv.startsWith("0.") || sv.startsWith("3.0.0-M1") || sv.startsWith("3.0.0-M2"))
47
+ "-Ysemanticdb"
48
+ else if (sv.startsWith("3.")) "-Xsemanticdb"
49
else "-Yrangepos"
50
}
51
) ++
0 commit comments