Skip to content

Commit 920193c

Browse files
committed
Add a changelog entry, stating that SyntaxCollections conform to BidirectionalCollection
1 parent 120b589 commit 920193c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Note: This is in reverse chronological order, so newer entries are added to the
44

55
## Swift 5.2
66

7+
- `ReversedSyntaxChildren` has been removed
8+
9+
Use the `reversed()` property on `SyntaxCollection`, which now conforms to `BidirectionalCollection` instead.
10+
11+
- `SyntaxCollection`s now conform to `BidirectionalCollection`
12+
13+
The previous conformance to `Sequence` has been upgraded to a conformance to `BidirectionalCollection`
14+
715
- Properties `isExpr`, `isDecl`, `isStmt`, `isType` and `isPattern` removed from `SyntaxNode`
816

917
Use `is(ExprSyntaxProtocol.self)` etc. instead.

0 commit comments

Comments
 (0)