-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Super-trait operator doesn't work within trait #18088
Copy link
Copy link
Closed
Labels
A-type-systemArea: Type systemArea: Type systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Consider the following simple trait example:
As you can see by the comments, using the
[]-operator onselfdoesn't work directly. Instead, one has to call theindexfunction manually.It seems like something is broken with operators and super-traits.