Tasty exception after update
fwbrasil opened this issue · comments
It seems the new artifacts published recently are compiled against a Scala 3.4 release candidate, which makes them not usable from Scala 3.3:
[error] error while loading resource$package,
[error] class file ox/resource$package.class is broken, reading aborted with class dotty.tools.tasty.UnpickleException
[error] TASTy signature has wrong version.
[error] expected: {majorVersion: 28, minorVersion: 3}
[error] found : {majorVersion: 28, minorVersion: 4 [unstable release: 1]}
[error]
[error] This TASTy file was produced by an unstable release.
[error] To read this TASTy file, your tooling must be at the same version.
[error] The TASTy file was produced by Scala 3.4.0-RC1-bin-20230825-2616c8b-NIGHTLY-git-2616c8b.
Would it be possible to publish artifacts for Scala 3.3?
Yes, Scala 3.3.0 didn't work with Java 21 (EA). But 3.3.1 just came out, and things work fine now - releasing an updated version.