swift
f75e8302 - [ASTScopes] Fix scope expansion for if/switch expressions

Commit
2 years ago
[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
Author
Parents
Loading