Merge pull request #79980 from hborla/closure-body-macro

[Macros] Implement support for function body macros on closures.
This commit is contained in:
Holly Borla
2025-03-21 06:19:36 -07:00
committed by GitHub
20 changed files with 593 additions and 62 deletions

View File

@@ -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