-
Notifications
You must be signed in to change notification settings - Fork 1.1k
extending java.lang.Enum should be desugared before TASTy #7478
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
Comments
This one seems more tricky, if we move the phase |
We can't have a phase that changes signature before pickling anyway: 1818b99 |
we could chalk it up to another special case primitive of scala implementations? ala |
|
I am going to special case signatures in pickling and then benchmark it |
On second thought, it just makes no sense to patch |
minimized code
Compile with
0.27.0-RC1
In TASTy, the first parent of
A
iswith no value arguments passed.
expectation
The parent in TASTy should be
with any other relevant desugarings applied, such as adding
$name
and_$ordinal
to the constructor ofA
Alternative
special-casing the synthetic no-arg
java.lang.Enum
constructor becomes part of the specification for TASTyThe text was updated successfully, but these errors were encountered: