-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pattern matching on GATD generating .asInstanceOf[Nothing]
#1515
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
I have some work-in-progress GADT fixes that I think are related to this, I'll take a look in the next few days |
Bump (I think this issue is affecting large portions of ScalaTest source code) |
Alright, let me get this on top of my todo list |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 14, 2016
Fixes scala#1515. Review by @smarter.
smarter
added a commit
that referenced
this issue
Oct 14, 2016
Fix #1515: Don't narrow gadt bounds when frozen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following example:
Fails at run time with
java.lang.ClassCastException: java.lang.Integer cannot be cast to scala.runtime.Nothing$
.The text was updated successfully, but these errors were encountered: