-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Allow interface_body
and enum_body
to consist of just a ;
.
#66720
Allow interface_body
and enum_body
to consist of just a ;
.
#66720
Conversation
@@ -3417,7 +3417,7 @@ | |||
<Kind Name="SemicolonToken"/> | |||
</Field> | |||
</Node> | |||
<Node Name="InterfaceDeclarationSyntax" Base="TypeDeclarationSyntax"> | |||
<Node Name="InterfaceDeclarationSyntax" Base="TypeDeclarationSyntax" SkipConvenienceFactories="true"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add this to RecordDeclarationSyntax too?
We are not making any changes for records, so no changes necessary, even if they wouldn't make any difference (which is unlikely).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks (iteration 1)
https://github.com/dotnet/csharplang/blob/main/proposals/primary-constructors.md#syntax