swift
c7ac0aa1 - [Sema] Avoid forming nested `do` expressions in `if`/`switch` bindings

Commit
1 year ago
[Sema] Avoid forming nested `do` expressions in `if`/`switch` bindings In asserts builds this hits an assert that the feature isn't enabled, and in no-asserts builds this incorrectly allows `do` expressions to be used with the feature disabled. Note this only affects their use when nested in an `if`/`switch` that is used in a binding, we correctly handled the other cases. rdar://121193678
Author
Committer
Parents
Loading