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

Make Constants.Constant final. #391

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

sjrd
Copy link
Contributor

@sjrd sjrd commented Nov 17, 2023

Potentially controversial.

This is technically a compatibility breach, both at the binary and TASTy level. However, I don't see how anyone could have meaningfully extended Constant (also we have 2 users so far).

@bishabosha
Copy link
Member

Hypothetically if there are custom trees allowed maybe there could be custom constants

This is technically a compatibility breach, both at the binary and
TASTy level. However, I don't see how anyone could have
meaningfully extended `Constant` (also we have 2 users so far).
@sjrd sjrd merged commit 01f46c9 into scalacenter:main Nov 20, 2023
4 checks passed
@sjrd sjrd deleted the finalize-constant branch November 20, 2023 09:15
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.

3 participants