-
Notifications
You must be signed in to change notification settings - Fork 1.1k
sbt-dotty does not load on sbt 1.3.0-SNAPSHOT #5671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is very weird, dotty itself and https://github.com/lampepfl/dotty-example-project use sbt 1.2.x without issues. In fact, I just tried changing the version that dotty-example-project uses to 1.2.8 and I did not encounter the error you're reporting, can you share the project ?
It's not, if |
Where I actually saw this was in scripted test. I figured it was anything above sbt 1.1.x, but maybe the problem is with |
ah indeed, looks like |
By the way it'd be nice if sbt provided something like |
Or maybe just a high-level mechanism to enforce that this plugin requires a particular minimum version of sbt. |
I think https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/VersionNumber.scala has semver check. scala> import sbt.librarymanagement.{ VersionNumber, SemanticSelector }
import sbt.librarymanagement.{VersionNumber, SemanticSelector}
scala> VersionNumber("2.12.5").matchesSemVer(SemanticSelector(">=2.12"))
res1: Boolean = true |
scala> import sbt.librarymanagement.{ VersionNumber, SemanticSelector }
import sbt.librarymanagement.{VersionNumber, SemanticSelector}
scala> VersionNumber("1.3.0-SNAPSHOT").matchesSemVer(SemanticSelector(">=1.1.5"))
res0: Boolean = true
scala> VersionNumber("1.1.0").matchesSemVer(SemanticSelector(">=1.1.5"))
res1: Boolean = false |
This comment has been minimized.
This comment has been minimized.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
This fixes scala#5671. Also bump the minimum version to 1.2.7 due to scalaCompilerBridgeBinaryJar usage, etc.
scala/scala3#5671 is fixed now.
scala/scala3#5671 is fixed now.
scala/scala3#5671 is fixed now. Also synchronize DivideZero.scala with https://github.com/lampepfl/dotty/blob/master/sbt-dotty/sbt-test/sbt-dotty/compiler-plugin/plugin/DivideZero.scala to account for API changes.
scala/scala3#5671 is fixed now. Also synchronize DivideZero.scala with https://github.com/lampepfl/dotty/blob/master/sbt-dotty/sbt-test/sbt-dotty/compiler-plugin/plugin/DivideZero.scala to account for API changes.
scala/scala3#5671 is fixed now. Also synchronize DivideZero.scala with https://github.com/lampepfl/dotty/blob/master/sbt-dotty/sbt-test/sbt-dotty/compiler-plugin/plugin/DivideZero.scala to account for API changes.
steps
addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.2.6")
with sbt 1.3.0-SNAPSHOT.problem
expectation
sbt-dotty works with any sbt 1.x >= 1.1.5.
notes
https://github.com/lampepfl/dotty/blob/bcccb2f3ce83bb6bf12559c7ae018e0f12042d32/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala#L92-L104
NonReleaseV
requires z to be > 0.The text was updated successfully, but these errors were encountered: