Commit Graph

2 Commits

Author SHA1 Message Date
Slava Pestov
376b392688 Fix test/IRGen/keypath_protocol_extension.swift
Fixes rdar://139993108.
2024-11-15 19:00:59 -05:00
Slava Pestov
0a23afcb99 IRGen: Adjust hacks for keypaths to protocol extension members
This was never implemented properly, but it works sometimes.

When the protocol is parameterized, it started crashing in a new way,
because the interface type of an existential is now derived from the
generalization signature, which will have nothing to do with the
signature that IRGen is passing in here.

Tweak the workaround to keep things limping along.

Fixes rdar://problem/139745699
2024-11-13 17:05:25 -05:00