-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support extending a mixin application expression directly #2650
Comments
There's already an issue for extending an expression, and that one is a pretty high priority fix for me. The other affects the type system and is more involved. |
There's #2106 but if I'm reading that right, it was closed once closure compiler allowed unknown types in the |
I may have been thinking of #2182. It's possible that one is fixed though. I've definitely looked into this. The expression decomposer won't handle that case. Haven't had a chance to figure out why. |
Is there an update or a timeline when this gets supported? |
@shicks We talked about this last week. Any thoughts on how this might work? I see two major cases:
|
@azakus has talked to some folks about this offline but I wanted to make an issue to link to / track.
Currently to support ES6 class mixin, one must do something like:
There are two suboptimal parts to this. The first is that we need to manually duplicate the interface of the
Timed
class in TimedInterface. The second is that we can't writeclass Bar extends Timed(Foo) {}
because extending an expression isn't supported.The text was updated successfully, but these errors were encountered: