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).

@sjrd sjrd requested review from adpi2 and bishabosha November 17, 2023 09:18
@bishabosha
Copy link
Member

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

sjrd added 2 commits November 18, 2023 15:16
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 force-pushed the finalize-constant branch from d10221e to 15dff42 Compare November 18, 2023 14:16
@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