Skip to content

Commit 2c82096

Browse files
RexJaeschkeBillWagner
authored andcommitted
support record structs
1 parent e25f30a commit 2c82096

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

standard/classes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6465,7 +6465,9 @@ Expression variables declared in *argument_list* are in scope within the *argume
64656465
64666466
#### 15.16.5.3 Properties
64676467
6468-
For each parameter of a positional *record_declaration* ([§15.2.1](classes.md#1521-general)) there shall be a corresponding public property member whose name and type are taken from the value parameter declaration.
6468+
For each parameter of a positional *record_declaration* ([§15.2.1](classes.md#1521-general)) that has the same name and type as an inherited or explicitly declared instance field, the remainder of this subclause does not apply.
6469+
6470+
For each parameter of a positional *record_declaration* there shall be a corresponding public property member whose name and type are taken from the value parameter declaration.
64696471
64706472
For a record class:
64716473

0 commit comments

Comments
 (0)