-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Calling default methods on type parameters that are type parameterized traits does not work #4102
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Reproduced as of eed2ca6 |
Reproduced as of c202430 |
Not critical for 0.6; de-milestoning |
Nominating for milestone 5, production-ready |
Fails in typecheck now... |
Oh, wait, that is because implicit self is gone. It still fails in trans.
is an updated version |
Marking that this is part of #2794 for tracking purposes. |
I claimed that I fixed this in an earlier commit, but I found another case that could cause a similar failure. Will be pushing a fix soon. |
Up-to-date (forward-ported) test case
Original Report
This assumes #4101 is merged. Fails in trans because substs for the parameterized trait
A
are not handled correctly.The text was updated successfully, but these errors were encountered: