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

Scala 3.3.2 produces .tasty files that 3.3.{0-1} cannot read because of new UniqueNameKind. #19815

Closed
sjrd opened this issue Feb 28, 2024 · 1 comment

Comments

@sjrd
Copy link
Member

sjrd commented Feb 28, 2024

See playframework/playframework#12418 for all the details. This issue is so that we have a record in our own repo.

@sjrd sjrd added itype:bug prio:blocker stat:needs triage Every issue needs to have an "area" and "itype" label labels Feb 28, 2024
@sjrd
Copy link
Member Author

sjrd commented Feb 28, 2024

Repro by @bishabosha :

$ echo "object Wrap { def foo[T: Numeric]: String ?=> T = summon[Numeric[T]].fromInt(summon[String].length) }" | scala-cli compile -d out -S 3.3.2 _.scala

$ scala-cli run -S 3.3.1 -cp out -e 'println({ given String = "foo"; Wrap.foo[Long] })'

@sjrd sjrd removed the stat:needs triage Every issue needs to have an "area" and "itype" label label Feb 28, 2024
Kordyjan added a commit that referenced this issue Feb 29, 2024
Fixes #19815

contents:
- [c5169f0] - fix by @smarter
- [1f5a667] - forward and backward compatibility tests (by @bishabosha).
Probably, it's overkill, but it's better to be paranoid than sorry. They
only take a few seconds.
- [df10488] - a copy of the 3.3.2 changelog with annotation about the
hotfix.
- [e497a42] - version bump. I decided to stay on 3.3.1 as a reference
version and version that we check the compatibility against.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants