Skip to content

Conversation

@kubamracek
Copy link
Contributor

A small tweak (addition) to the constant expression definition added by SE-0492. Supporting closures (with no captures) is technically and syntactically very similar to supporting named function references. Adding this mainly to be able to support macro-generated metadata, e.g. for Swift Testing.

@xwu xwu added content change Content change to an existing document LSG Contains topics under the domain of the Language Steering Group labels Dec 12, 2025
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LSG has discussed this amendment and approved

@DougGregor DougGregor merged commit ca09e1d into swiftlang:main Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content change Content change to an existing document LSG Contains topics under the domain of the Language Steering Group

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants