Cannot inherit interfaces that inherit from interfaces with methods #2525
Closed
sean-anderson-seco
started this conversation in
General
Replies: 2 comments
-
When you inherit from an interface you have to implement all members. It is weird that when you extend from |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing discussion here, continue on #2526. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Details
Python classes cannot inherit from C# interfaces that themselves inherit from C# interfaces with methods:
Output:
Extending from
B
works. It also works ifC
is removed fromB
.Possibly related to #2511. Reverting to 3.0.3 (before 9ebfbde) provides the moderately-more-useful error
TypeError: VTable setup of type F.E failed
.Beta Was this translation helpful? Give feedback.
All reactions