swift
a64ba23d - [CS] NFC: Store ContextualTypeInfo in SyntacticElementTarget

Commit
2 years ago
[CS] NFC: Store ContextualTypeInfo in SyntacticElementTarget Move the contextual type locator onto ContextualTypeInfo, and consolidate the separate fields in SyntacticElementTarget into storing a ContextualTypeInfo. This then lets us plumb down the locator for the branch contextual type of an if/switch expression from the initial constraint generation, rather than introducing it later. This should be NFC.
Author
Parents
Loading