-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIL verification failed with ObjC protocol that throws #69421
Comments
|
CC @beccadax I've been told you work closely with ObjC interop. Could you take a look? |
|
Hi @ellishg, The Of course, that doesn't mean this obscure SIL verification crash is the right way for Swift to handle this code. My first thought is that Swift should simply not import the |
Ah that makes sense. Is it possible to report an error when trying to import methods like
It seems to me that the |
|
Yes, only for |
That sounds reasonable to me! |
Description
Swift is crashing when trying to compile an ObjC protocol that throws. The crash seems to go away when
shas_Nullable.Steps to reproduce
Expected behavior
The code should compile without issues.
Environment
The text was updated successfully, but these errors were encountered: