-
Notifications
You must be signed in to change notification settings - Fork 1.1k
GADT issue #5418
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
Labels
Comments
cc/ @AleksanderBG |
allanrenucci
added a commit
to dotty-staging/scala
that referenced
this issue
Nov 9, 2018
The problem is that instantiation of covariant GADTs is unsound. So we can't implement that in Dotty. A cast is needed here. |
allanrenucci
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 12, 2018
allanrenucci
added a commit
to dotty-staging/scala
that referenced
this issue
Nov 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found in the 2.13 std lib:
The text was updated successfully, but these errors were encountered: