Specification is not clear about metadata before enums #24425
Labels
area-specification (deprecated)
Deprecated: use area-language and a language- label.
closed-duplicate
Closed in favor of an existing report
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The Dart Programming Language Specification version 1.9 is not clear about metadata for enums.
Chapter '13 Enums' reads:
Metadata is allowed. But chapter '15 Metadata' reads:
Enums are not mentioned here, i.e. not allowed for enums.
So it is not clear whether metadata can appear before enum or not.
The text was updated successfully, but these errors were encountered: