swift
4a1819b0 - [silgen] Add support for correctly calling imported throwing methods on imported objc classes that are imported with a non-null NSError.

Commit
3 years ago
[silgen] Add support for correctly calling imported throwing methods on imported objc classes that are imported with a non-null NSError. This for some time has been crashing in IRGen in non-asserts builds and hitting assertions in asserts builds. I think we were missing test coverage here and that is why this basic-ish thing has been broken. Basically at a high level, the actual expected ABI here is that the NSError is marked non-nullable which is different from the expected ABI. rdar://92755102
Author
Committer
Parents
Loading