mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Since availability scopes may be built at arbitrary times, the builder may encounter ASTs where SequenceExprs still exist and have not been folded, or it may encounter folded SequenceExprs that have not been removed from the AST. To avoid a double visit, track whether a SequenceExpr is folded and then customize how ASTVisitor handles folded sequences. Resolves rdar://142824799 and https://github.com/swiftlang/swift/issues/78567.
96 KiB
96 KiB