mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
d15376a0a3
The ObjC thunk already attempted to do fixup for ownership mismatches but it derived the wrong parameter convention for the ObjC thunk itself so this fixup did not happen. This PR makes sure we have the correct ownership convention for the ObjC thunk so the fixup actually happens. Furthermore, this PR relaxes the type checker so we no longer error out on the ownership convention mismatch. rdar://172701291