You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not going to submit this as part of my nuke-impl-classes branch to keep things manageable for review. @lrytz I'll assign this one to you so you can fine tune the purge.
The text was updated successfully, but these errors were encountered:
- Leave the members in the trait instead (these will be emitted as
default methods in the interface)
- Add the trait mixin constructor to the interface, rather than
the impl class
- Change the invocation of the mixin constructor to use an
invokespecial. This is encoded with the AST:
`Apply(Select(Super(_, _), mixinConstructor)))`
I've tried to remove all traces of the interface / implclass
distinction.
To allow us to call arbitrary super methods with invokespecial,
the backend will add a transitively inherited interface as a direct
when needed to circumvent the JVM restriction that invokespecial
can only use a direct parent as the receiver.
WIP: retronym/scala@7725312
Related to #86
I'm not going to submit this as part of my nuke-impl-classes branch to keep things manageable for review. @lrytz I'll assign this one to you so you can fine tune the purge.
The text was updated successfully, but these errors were encountered: