Skip to content

[Interop] [SwiftToCxx] Introduce Dynamic Cast to swift::Error #61626

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

Merged

Conversation

Robertorosmaninho
Copy link
Contributor

This modification allow the user to cast a generic swift::Error to its own Error and identify which case was catch!

@Robertorosmaninho Robertorosmaninho marked this pull request as draft October 18, 2022 21:57
@hyp hyp added the c++ interop Feature: Interoperability with C++ label Oct 18, 2022
@hyp hyp self-requested a review October 18, 2022 22:30
@hyp
Copy link
Contributor

hyp commented Oct 21, 2022

@swift-ci please test

@Robertorosmaninho Robertorosmaninho force-pushed the cxx-interop/DynamicCastToSwiftError branch from b191d9f to cb31700 Compare October 21, 2022 17:35
@hyp
Copy link
Contributor

hyp commented Oct 21, 2022

@swift-ci please test

@hyp
Copy link
Contributor

hyp commented Oct 22, 2022

@swift-ci please test

1 similar comment
@hyp
Copy link
Contributor

hyp commented Oct 25, 2022

@swift-ci please test

@Robertorosmaninho Robertorosmaninho marked this pull request as ready for review October 26, 2022 23:36
@Robertorosmaninho Robertorosmaninho requested a review from hyp October 26, 2022 23:36
@hyp
Copy link
Contributor

hyp commented Oct 26, 2022

@swift-ci please test

@hyp
Copy link
Contributor

hyp commented Oct 27, 2022

@swift-ci please test source compatibility

@hyp
Copy link
Contributor

hyp commented Oct 27, 2022

@swift-ci please test

@hyp
Copy link
Contributor

hyp commented Oct 27, 2022

@swift-ci please test source compatibility

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.

2 participants