-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Abstract operator error #4914
Comments
|
Looking at this, I understand how it works but I'm still not very happy with the way the compiler react. However doing this properly is quite hard since it would involve resuming from the error and trying again to type this time without the with_type constraint, which I'm sure you will not like :) |
The general problem I see is that "trying again" and our type inference don't work together very well in general. There are too many monomorphs floating around which can be bound to something before the compiler decides to "try again". |
I still don't know what to do with this. I feel like #2786 was a mistake and now we run into situations like this. |
This doesn't reproduce anymore. I don't know why, but let's quickly close it before it comes back. |
This gives some strange error:
It actually depends on the conditional check being there.
The text was updated successfully, but these errors were encountered: