File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ regardless of what code comes before and after it.
356356This limitation helps make macro expansion easier to understand,
357357and helps your code build faster
358358because Swift can avoid expanding macros that haven't changed.
359- <!-- XXX TR: Confirm -->
359+ <!-- TODO TR: Confirm -->
360360Swift helps macro authors avoid accidentally reading other input
361361by restricting the code that implements macros:
362362
Original file line number Diff line number Diff line change @@ -35,13 +35,8 @@ The arguments to this attribute indicate the macro's role.
3535For a macro that has multiple roles,
3636apply the ` attached ` macro multiple times, once for each role.
3737
38- <!-- XXX TR:
39- Is there a stable URL we can use to make the macro protocols below links?
40- The current build of SwiftSyntax docs doesn't appear to include any of these protocols.
41- That URL also looks like it includes a build number,
42- so it seems likely to change over time.
43-
44- https://swiftpackageindex.com/apple/swift-syntax/508.0.0/documentation/swiftsyntax
38+ <!-- TODO:
39+ If there's a stable URL we can use, make the macro protocols below links.
4540-->
4641
4742The first argument to this attribute
@@ -115,7 +110,7 @@ As a special case,
115110you can write ` prefixed($) `
116111for a macro that behaves similar to a property wrapper.
117112<!--
118- XXX TR: Is there any more detail about this case?
113+ TODO TR: Is there any more detail about this case?
119114-->
120115
121116### available
Original file line number Diff line number Diff line change @@ -3479,7 +3479,7 @@ For more information, see <doc:Macros>.
34793479> * macro-definition* → ** ` = ` ** * expression*
34803480
34813481<!--
3482- XXX TR: Confirm that the 'where' clause goes after the equals sign.
3482+ TODO TR: Confirm that the 'where' clause goes after the equals sign.
34833483-->
34843484
34853485## Operator Declaration
You can’t perform that action at this time.
0 commit comments