Skip to content
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

[Swift language features] Surfacing default protocol constraints on types #2956

Open
jkurdek opened this issue Jan 24, 2025 · 0 comments
Open
Labels
area-SwiftBindings Swift bindings for .NET

Comments

@jkurdek
Copy link
Member

jkurdek commented Jan 24, 2025

In Swift types can have default conformances which are hidden in the source code. For example a @frozen struct might conform to Copyable, Escapable, Sendable, BitwiseCopyable. We should decide whether we need to surface those constraints and in case we do, how to surface those constraints. Should they be applied to every generated struct? Maybe we need a common base?

@jkurdek jkurdek added the area-SwiftBindings Swift bindings for .NET label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-SwiftBindings Swift bindings for .NET
Projects
None yet
Development

No branches or pull requests

1 participant