Skip to content

Class declarations without curly braces #4722

Discussion options

You must be logged in to vote

This makes things very ambiguous. For example, this is already legal today: public record Foo(); Now it becomes less clear if ; terminates a type, or groups over the remainder of the file.

Replies: 4 comments 20 replies

Comment options

You must be logged in to vote
4 replies
@calin-darie
Comment options

@BurkusCat
Comment options

@HaloFour
Comment options

@BurkusCat
Comment options

Answer selected by ronnygunawan
Comment options

You must be logged in to vote
3 replies
@AdamCoulterOz
Comment options

@HaloFour
Comment options

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
12 replies
@spydacarnage
Comment options

@HaloFour
Comment options

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

@CyrusNajmabadi
Comment options

Comment options

You must be logged in to vote
1 reply
@HaloFour
Comment options

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