-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Crash when selecting ! on block #5386
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
Ok now this doesn't raise the error. val a = assertion
!a |
New minimization 😮 object Test {
!{
println("!")
true
}
} |
It's a combination of two things:
The problem is that Erasure does not expect to see a Select node with these two properties. |
I see. What do you think about the #5387 fix? |
odersky
added a commit
that referenced
this issue
Nov 21, 2018
Fix #5386: Normalize unary operator expressions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: