Skip to content
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

Constructors should be excluded from inheritance #1086

Open
dontcallmedom opened this issue Jan 21, 2022 · 0 comments
Open

Constructors should be excluded from inheritance #1086

dontcallmedom opened this issue Jan 21, 2022 · 0 comments

Comments

@dontcallmedom
Copy link
Contributor

The definition of interface inheritance states:

The object [that implements an interface that inherits from another] will also have members that correspond to the interface members from the inherited interface

Now that constructors are declared as interface members, this could be read as implying that constructors too are inherited, which they aren't. The text should probably clarify this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant