Skip to content

Define "has no body" to mean ;, and "has a body" to mean either block body or expression body #1430

@jnm2

Description

@jnm2

We have some interest in simplifying the language so that get; or void M(); is referred to as "not having a body," and thus we can say "has a body" instead of repeatedly saying "has a block body or an expression body" as a pair.

One thing to determine is whether the grammar currently refers to the ; as a body.

Original discussion:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions