-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SIL: Assert that SILFunctionTypes are only @pseudogeneric when they have generic arguments. #17561
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: Assert that SILFunctionTypes are only @pseudogeneric when they have generic arguments. #17561
Conversation
@swift-ci Please test |
@@ -0,0 +1,8 @@ | |||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -import-objc-header %S/Inputs/objc_block_to_func_to_block.h -emit-silgen -verify %s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to use the real overlays with the mock SDK, which isn't really safe.
Build failed |
Build failed |
7c9c4b1
to
0bbc219
Compare
@swift-ci Please test |
Build failed |
Build failed |
@swift-ci Please test |
Build failed |
Build failed |
…ave generic arguments. And fix up the places where we would set or propagate the 'pseudogeneric' bit even for nongeneric types.
0bbc219
to
9833fb4
Compare
@swift-ci Please test |
Build failed |
No description provided.