Skip to content

[cxx-interop] Import complex inferred dependent return types #42411

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

Conversation

cabmeurer
Copy link
Contributor

@cabmeurer cabmeurer commented Apr 16, 2022

Add support for importing Cxx methods that have inferred dependent return types to be the swift Any type

Related to: SR-13809

@zoecarver @hyp

@plotfi plotfi added the c++ interop Feature: Interoperability with C++ label Apr 16, 2022
@zoecarver
Copy link
Contributor

@swift-ci please smoke test.

Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments.

@cabmeurer cabmeurer force-pushed the cabmeurer/import-complex-inferred-dependent-return-types branch from 94a781c to e2b69e4 Compare April 23, 2022 22:40
Copy link
Contributor

@zoecarver zoecarver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@zoecarver
Copy link
Contributor

@swift-ci please test.

@cabmeurer
Copy link
Contributor Author

cabmeurer commented Apr 29, 2022

@zoecarver tested out your suggestions and left comments, for some reason the Linux smoke test hasn't run?

@zoecarver
Copy link
Contributor

@swift-ci test Linux

@zoecarver
Copy link
Contributor

@swift-ci test Windows

@cabmeurer cabmeurer force-pushed the cabmeurer/import-complex-inferred-dependent-return-types branch from e2b69e4 to 3810951 Compare May 9, 2022 21:50
@zoecarver
Copy link
Contributor

@swift-ci please test

@zoecarver
Copy link
Contributor

@swift-ci please test Windows

@cabmeurer cabmeurer force-pushed the cabmeurer/import-complex-inferred-dependent-return-types branch 2 times, most recently from 19290b9 to 9f499c8 Compare May 11, 2022 19:57
@hyp
Copy link
Contributor

hyp commented May 11, 2022

@swift-ci please test

@cabmeurer
Copy link
Contributor Author

@zoecarver some weirdness going on with windows ??

@zoecarver
Copy link
Contributor

@swift-ci please test windows

@zoecarver
Copy link
Contributor

I keep forgetting to look at the logs, sorry.

@zoecarver
Copy link
Contributor

This LGTM. As soon as the tests pass I'll merge it!

@cabmeurer
Copy link
Contributor Author

@zoecarver thank you!! Any idea why this would fail on windows or how I can debug this???

@cabmeurer cabmeurer force-pushed the cabmeurer/import-complex-inferred-dependent-return-types branch from 9f499c8 to 2f8c32c Compare May 16, 2022 23:08
@zoecarver
Copy link
Contributor

@swift-ci please test.

@zoecarver zoecarver merged commit 7483deb into swiftlang:main May 17, 2022
@zoecarver
Copy link
Contributor

Thanks, Caleb! Happy to finally get this landed.

@cabmeurer
Copy link
Contributor Author

Thanks, Caleb! Happy to finally get this landed.

Thank you!

@cabmeurer cabmeurer deleted the cabmeurer/import-complex-inferred-dependent-return-types branch May 17, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants