mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Some protocols, such as protocols marked with 'objc', do not have a Witness Table. The code before this patch assumes all protocols do have a Witness Table when generating the layout of an OpaqueTypeDescriptor, causing an assert to be triggered for opaque return types that conform to an 'objc' protocol. Fixes SR-12257 / rdar://problem/59740179
167 KiB
167 KiB