Swift: add library pack change note

This commit is contained in:
Nora Dimitrijević
2023-06-06 17:37:02 +02:00
parent a831456e94
commit 03e94c7137

View File

@@ -0,0 +1,4 @@
---
category: breaking
---
* The `BraceStmt` AST node's `AstNode getElement(index)` member predicate no longer returns `VarDecl`s after the `PatternBindingDecl` that declares them. Instead, a new `VarDecl getVariable(index)` predicate has been introduced for accessing the variables declared in a `BraceStmt`. This change only affects query writers.