-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Overloaded isDefined
or get
breaks option-less pattern matching
#1540
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
It actually fails before, if one does a -Ycheck:pat. @liufengyun or @DarkDimius can one of you have a look?
|
OK, I'll have look at it. |
liufengyun
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 14, 2016
liufengyun
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 14, 2016
liufengyun
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 14, 2016
liufengyun
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 14, 2016
odersky
added a commit
that referenced
this issue
Oct 14, 2016
Fix #1540: overloaded get and isDefined in option-less patmat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overloading
isDefined
orget
as in the following example crashes dotc on this assertion:The text was updated successfully, but these errors were encountered: