You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat A.scala
packagefooclassA
$ cat B.scala
packagebarclassBextends foo.A
$ scala3-compiler A.scala
$ scalac -Ytasty-reader B.scala
error: error while loading A, classfile'./foo/A.class' is broken
(classscala.tools.tasty.UnpickleException/TASTy signature has wrong version.
expected: {majorVersion: 28, minorVersion: 0 [unstable release: 1]}
found : {majorVersion: 28, minorVersion: 0 [unstable release: 3]}
ThisTASTy file was produced by an unstable release.
To read thisTASTy file, your tooling must be at the same version.
TheTASTy file was produced by Scala3.0.0-RC2.
Note that your tooling is currently using an unstable TASTy version.)
B.scala:2:error: illegal inheritance;
self-typebar.B does not conform to foo.A's selftype foo.AclassBextends foo.A
^
2 errors
problem
Seems like 3.0.0-RC2 has bumped the tasty signature version, to something that is not compatible with the tasty reader in 2.13.5.
The text was updated successfully, but these errors were encountered:
We are happy to do a 2.13.6 release soon for Scala 3 interop. @bishabosha will let us know when is a good moment for that - there are some open issues. Also, if the 2.13.6 happens before Scala 3 final is out, it would be good to avoid the same breakage for the Scala 3 final.
reproduction steps
Using scala 2.13.5 and 3.0.0-RC2
problem
Seems like 3.0.0-RC2 has bumped the tasty signature version, to something that is not compatible with the tasty reader in 2.13.5.
The text was updated successfully, but these errors were encountered: