mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When creating a specialized witness table, we need to get the right specialized conformance. In IRGen don't emit associated conformance witness table entries if the protocol is not a class protocol. In this case the associated type can never be used to create an existential. Therefore such a witness table entry is never used at runtime in embedded swift. Fixes a compiler crash rdar://146448091
4.8 KiB
4.8 KiB