swift
fd5346fe - [CS] Ensure DeclContext is switched for if/switch expressions

Commit
303 days ago
[CS] Ensure DeclContext is switched for if/switch expressions Similar to multi-statement closures, we need to make sure we change the DeclContext of the ConstraintSystem when solving a conjunction for an if/switch expression. This is unfortunately needed for cases within single-expression closures since they can't switch the system's DeclContext (as they're solved together with the rest of the system).
Author
Parents
Loading