Skip to content
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

Add support for Scala 3.4.3 & 3.5.0 #1533

Closed
2 tasks done
Gedochao opened this issue Aug 14, 2024 · 1 comment · Fixed by #1553
Closed
2 tasks done

Add support for Scala 3.4.3 & 3.5.0 #1533

Gedochao opened this issue Aug 14, 2024 · 1 comment · Fixed by #1553
Milestone

Comments

@Gedochao
Copy link
Contributor

Gedochao commented Aug 14, 2024

@beyondpie
Copy link

beyondpie commented Aug 22, 2024

@Gedochao
When I try ammonite under scala 3.5.0, I got the error. In my build.sbt file, I use

libraryDependencies += "com.lihaoyi" % "ammonite_3.4.2" % "3.0.0-M2-15-9bed9700"

It works at least during compiling.

But

libraryDependencies += "com.lihaoyi" %% "ammonite" % "3.0.0-M2-15-9bed9700" cross CrossVersion.full

is not workable for scala 3.5.0.

Then I start a ammonite REPL, and it has the error report below:

Welcome to the Ammonite Repl 3.0.0-M2-15-9bed9700 (Scala 3.4.2 Java 22.0.1-internal)
@ error while loading scala,
TASTy file scala/NamedTupleDecomposition.tasty could not be read, failing with:
Forward incompatible TASTy file has version 28.5, produced by Scala 3.5.0-bin-nonbootstrapped,
expected stable TASTy from 28.0 to 28.4.
To read this TASTy file, use a Scala 3.5.0 compiler or newer.
Please refer to the documentation for information on TASTy versioning:
https://docs.scala-lang.org/scala3/reference/language-versions/binary-compatibility.html

Is this related with the issue you list here?

Thanks!
Songpeng

@lefou lefou added this to the 3.0.0 milestone Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants