mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #79980 from hborla/closure-body-macro
[Macros] Implement support for function body macros on closures.
This commit is contained in:
@@ -512,6 +512,9 @@ EXPERIMENTAL_FEATURE(ConcurrencySyntaxSugar, true)
|
||||
/// Allow declaration of compile-time values
|
||||
EXPERIMENTAL_FEATURE(CompileTimeValues, true)
|
||||
|
||||
/// Allow function body macros applied to closures.
|
||||
EXPERIMENTAL_FEATURE(ClosureBodyMacro, true)
|
||||
|
||||
#undef EXPERIMENTAL_FEATURE_EXCLUDED_FROM_MODULE_INTERFACE
|
||||
#undef EXPERIMENTAL_FEATURE
|
||||
#undef UPCOMING_FEATURE
|
||||
|
||||
Reference in New Issue
Block a user