Super-trait operator doesn't work within trait #18088
Labels
A-typesystem
Area: The type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Consider the following simple trait example:
As you can see by the comments, using the
[]
-operator onself
doesn't work directly. Instead, one has to call theindex
function manually.It seems like something is broken with operators and super-traits.
The text was updated successfully, but these errors were encountered: