-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
[hxb] Unbound type parameter issues #11628
base: development
Are you sure you want to change the base?
Conversation
24a5d0e
to
24b4599
Compare
I could dodge the crash by adding I'm not really fond of that patch, but it makes things a bit better for such cases. As for the actual unbound type parameter warnings here (which still make the tests fail as they currently expect no output), I'm not sure what to do. They do seem like actual unbound type parameters, which would mean current result is fine? 🤔 |
Yes I don't think there's a hxb-specific problem here, it's likely all related to #3033. |
What about that |
Seems a bit strange but if it helps temporarily then I don't mind. |
24b4599
to
7e32aac
Compare
Is that what we need for first case here? |
Added failing tests with currently identified issues:
Local function type parameter vs @:generic
Not sure how that one should behave; if that's not supposed to be supported, it should at least error/warn properly. Note that this doesn't really break.
Anon field type parameter in abstract underlying type
Here, first compilation is fine, second gives an unbound type parameter warning, and third crashes.
Crash avoided in 0e96fae