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

1 similar comment
@kubamracek
Copy link
Contributor Author

@swift-ci test Windows

@grynspan grynspan disabled auto-merge December 18, 2025 23:40
@kubamracek
Copy link
Contributor Author

@swift-ci test Windows

@kubamracek kubamracek enabled auto-merge December 19, 2025 01:08
@kubamracek
Copy link
Contributor Author

@swift-ci test Windows

@kubamracek kubamracek merged commit ffcba97 into swiftlang:main Dec 20, 2025
5 checks passed
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