-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Follow-up on Zinc upgrade #10816
Comments
Mill |
Bloop migration to Zinc 1.4.x is in progress here: scalacenter/bloop#1477 |
Bloop has migrated to Zinc 1.6 earlier this year: scalacenter/bloop#1662 🎉 |
Btw @bishabosha will this also be closed by the work you've been doing with the zinc upgrade? |
At least point 4 is done, not sure if we should remove the old zinc api - it would enforce a higher minimum sbt version |
If I remember correctly the new API in scala3-compiler is incompatible with the old interface in the bridge. It would fail to compile incrementally on the old sbt versions. So we can and should remove the old |
Another motivation for this issue: |
The upgrade of Zinc in the compiler is almost there: #18137 |
The purpose of this issue is to track the progress on the upgrade of Zinc that follows #10607.
The current situation is:
scala3-compiler
depends on"org.scala-sbt" % "compiler-interface" % "1.3.5"
and use the deprecated APIscala3-sbt-bridge
depends on"org.scala-sbt" % "compiler-interface" % "1.4.3"
and contains 2 implementations: the oldxsbt.CompilerInterface
that is used by sbt1.3.x
and Mill, and the newdotty.tools.xsbt.CompilerBridge
that is used by sbt1.4.x
.The plan is to bump the version of Zinc in
scala3-compiler
and use the new API but first we need Mill and Bloop to upgrade to Zinc1.4.3
.1.4.3
and use the new APIscala3-compiler
and use the new API (waiting on use new zinc 1.8 api for VirtualFile #18137)xsbt.CompilerInterface
At the end, the
scala3-compiler
won't be compatible any more with sbt1.3.x
, Mill0.9.x
and Bloop1.4.x
The text was updated successfully, but these errors were encountered: