Skip to content

Commit 72a2cdd

Browse files
committed
Address outstanding proposal comments.
1 parent 4a2813d commit 72a2cdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

proposals/NNNN-init-accessors.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ accesses-list -> 'accesses' ':' identifier-list
168168
identifier-list -> identifier
169169
identifier-list -> identifier ',' identifier-list
170170
171-
// Not actually sure if `get` and `set` appearing once is baked into the grammar or is a semantic restriction
172171
accessor-block -> init-accessor
173172
```
174173

@@ -324,7 +323,7 @@ init(x: Int, y: Int) {
324323
}
325324
```
326325

327-
TODO: define whether macro-generated members are ordered before or after their 'attached-to' declaration for peer macros, or before or after the full member list for member macros.
326+
Note that macro-expanded declarations are ordered after the attached-to declaration for peer macros, and at the end of the member list as written for member macros.
328327

329328
## Source compatibility
330329

0 commit comments

Comments
 (0)