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

simplify trees that appear in tastycheck test #21274

Merged

Conversation

bishabosha
Copy link
Member

@bishabosha bishabosha commented Jul 25, 2024

unfortunately it seems changing the classpath means representation of TASTy is not stable (but is semantically equivalent) i.e. some SHAREDtype might be replaced by equivalent types. This breaks the tastycheck test in #21214 with scala 2 library tasty.

By changing to ordinary classes instead of enum cases, we limit generated code and avoid these specific examples of instability in the test.

Manually, I confirmed that reverting the change to namer in #21214 still breaks the new test

[test_scala2_library_tasty]

@hamzaremmal hamzaremmal merged commit 9e4aea4 into scala:main Jul 25, 2024
25 checks passed
@hamzaremmal hamzaremmal deleted the simplify-trees-testcase-i21154 branch July 25, 2024 15:25
WojciechMazur added a commit that referenced this pull request Aug 27, 2024
…1463)

Backports #21274 to the 3.5.2 branch.

PR submitted by the release tooling.
[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants