@ @sealed
@sealed
Applies to: data
Section: §4.3
Syntax
Attr = "@" Path [ "(" [ AttrArgs ] ")" ] ;Grammar: App. A
Defined in
- 4.3 Construction and constructors — Literal. T{ f1: e1, f2, ..base }
- 4.9 Attributes — Syntax: @name or @name(arguments) before a declaration, field, parameter or rpc.
Related diagnostics
bad-init, missing-field, must-close, positional-literal, sealed-literal, deprecated