Discussion: partial methods and interfaces #4168
Unanswered
alrz
asked this question in
Language Ideas
Replies: 1 comment 6 replies
-
This should also be the case for abstract methods in classes. |
Beta Was this translation helpful? Give feedback.
6 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.
-
Currently, all partial methods require a body but in an interface, you might still want to keep it abstract:
Equilvanet to:
Note that
partial void M();
follows the old semantic and optionally emitsprivate void M() { }
if it has an implementation part.Beta Was this translation helpful? Give feedback.
All reactions