mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We want the type of a KeyPathExpr to be the specific *KeyPath<T, U> subclass appropriate for the literal, with upcasts to a more general contextual type, since we rely on that invariant elsewhere to extract the base and projected value types. Fixes SR-5008 | rdar://problem/32395076.
188 KiB
188 KiB