mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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.
90 KiB
90 KiB