Skip to content

[cxx-interop] Diagnose misuses of escapability and lifetimebound #77073

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
merged 1 commit into from
Oct 17, 2024

Conversation

Xazax-hun
Copy link
Contributor

When a type is explicitly annotated as escapable or non-escapable it has requirements about the lifetime annotations. This patch introduces diagnostics to detect that.

@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Oct 17, 2024
When a type is explicitly annotated as escapable or non-escapable it has
requirements about the lifetime annotations. This patch introduces
diagnostics to detect that.
@Xazax-hun Xazax-hun force-pushed the gaborh/lifetimebound-add-diagnostics branch from d68b069 to e86cf18 Compare October 17, 2024 14:36
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

@Xazax-hun Xazax-hun merged commit c76f894 into main Oct 17, 2024
3 checks passed
@Xazax-hun Xazax-hun deleted the gaborh/lifetimebound-add-diagnostics branch October 17, 2024 19:04
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