Skip to content

Conversation

@hnrklssn
Copy link
Member

Any safe wrapper expansion originating in a bridging header would fail typechecking because the __ObjC module doesn't import the standard implicit imports. This is because the main module is not available to inherit implicit imports from when the __ObjC module is created. We don't need all of the implicit modules for safe wrappers, so import Swift specifically.

rdar://163078116

Any safe wrapper expansion originating in a bridging header would fail
typechecking because the `__ObjC` module doesn't import the standard
implicit imports. This is because the main module is not available to
inherit implicit imports from when the `__ObjC` module is created. We
don't need all of the implicit modules for safe wrappers, so import
`Swift` specifically.

rdar://163078116
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

This prevents it from being loaded correctly later.
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn
Copy link
Member Author

@swift-ci please test

@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn
Copy link
Member Author

I think we can ignore the earlier failing run, since the newer run passed (and the smoke test also failed previously)

@hnrklssn
Copy link
Member Author

@swift-ci please test macos platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant