Skip to content

Commit a7a38f6

Browse files
committed
Clean up
1 parent 7ef31c5 commit a7a38f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Release Notes/510.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
- `SyntaxStringInterpolation.appendInterpolation(_: (some SyntaxProtocol)?)`
66
- Description: Allows optional syntax nodes to be used inside string interpolation of syntax nodes. If the node is `nil`, nothing will get added to the string interpolation.
77
- Pull Request: https://github.com/apple/swift-syntax/pull/2085
8+
89
- `SyntaxCollection.index(at:)`
910
- Description: Returns the index of the n-th element in a `SyntaxCollection`. This computation is in O(n) and `SyntaxCollection` is not subscriptable by an integer.
1011
- Pull Request: https://github.com/apple/swift-syntax/pull/2014
12+
1113
- Convenience initializer `ClosureCaptureSyntax.init()`
1214
- Description: Provides a convenience initializer for `ClosureCaptureSyntax` that takes a concrete `name` argument and automatically adds `equal = TokenSyntax.equalToken()` to it.
1315
- Issue: https://github.com/apple/swift-syntax/issues/1984
1416
- Pull Request: https://github.com/apple/swift-syntax/pull/2127
17+
1518
- Convenience initializer `EnumCaseParameterSyntax.init()`
1619
- Description: Provides a convenience initializer for `EnumCaseParameterSyntax` that takes a concrete `firstName` value and adds `colon = TokenSyntax.colonToken()` automatically to it.
1720
- Issue: https://github.com/apple/swift-syntax/issues/1984
@@ -30,7 +33,7 @@
3033
- Issue: https://github.com/apple/swift-syntax/issues/2092
3134
- Pull Request: https://github.com/apple/swift-syntax/pull/2108
3235

33-
- Same-Type Casts
36+
- Same-Type Casts
3437
- Description: `is`, `as`, and `cast` overloads on `SyntaxProtocol` with same-type conversions are marked as deprecated. The deprecated methods emit a warning indicating the cast will always succeed.
3538
- Issue: https://github.com/apple/swift-syntax/issues/2092
3639
- Pull Request: https://github.com/apple/swift-syntax/pull/2108

0 commit comments

Comments
 (0)