Files
swift-mirror/lib/AST/ASTScopeCreation.cpp
Hamish Knight f75e8302d5 [ASTScopes] Fix scope expansion for if/switch expressions
Previously we could miss the scopes present in
if/switch expressions if they were nested in
another expression, such as an AssignExpr. Fix
the logic such that we properly walk over a given
expression looking for if/switch scopes, the same
as what we do for closures.

rdar://109192116
2023-05-12 21:28:07 +01:00

48 KiB