-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Wrong inference for clone()
#2435
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
Yeah, I've been working on this for a while already (on and off). Getting the method resolution order right is a bit tricky. The problem is that Of course, the second problem here is that we don't support derives yet, so even if the above problem was fixed this would still be inferred this way. |
Ok, but isn't |
Well, that 'simply' glosses over a few details 🙂 See #1427. |
The text was updated successfully, but these errors were encountered: