Skip to content

Conversation

@kubamracek
Copy link
Contributor

Bugfix for @section support. See the attached testcase, where we currently reject the closure because the AST representation does represent "f" as a capture. But for any legal @convention(c) function conversion, we don't need to impose any requirements on the closure, because we are guaranteed that it'll be a single function pointer after lowering.

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek enabled auto-merge December 17, 2025 18:35
@grynspan
Copy link
Contributor

@swift-ci test Windows

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.

3 participants