-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Issue with GADTs tasty types #2944
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
In the first case the binding of
|
The second case apply the binding instead of the type.
|
These trees fail This was discovered in #2910 and can be reproduced with the |
This code in present in |
Taking over this blocker. |
This allows all other parts of pipeline to be less aware of existence of the GADT bounds. In particular, it makes us pickle them as normal type bounds.
Fix ready. It was easy. |
This allows all other parts of pipeline to be less aware of existence of the GADT bounds. In particular, it makes us pickle them as normal type bounds.
Fix #2944: propagate information from GADT bounds to normal info.
gets wrong types for binding in
3.asInstanceOf[b]
and4.asInstanceOf[K]
involvingb
andc
.The full tasty pretty printed is here.
The text was updated successfully, but these errors were encountered: