mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the underlying type of an opaque type references an implementation-only imported type, drop the underlying type information. Without this fix, once we enable deserialization safety, we see crashes or dropped decls in more existing tests: IRGen/mangle-opaque-return-type.swift IRGen/opaque_result_type_private_underlying.swift Serialization/Recovery/implementation-only-opaque-type.swift rdar://103238451
269 KiB
269 KiB