mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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:
@@ -4486,7 +4486,7 @@ NodePointer Demangler::demangleMacroExpansion() {
|
||||
context = popContext();
|
||||
NodePointer discriminator = demangleIndexAsNode();
|
||||
NodePointer result;
|
||||
if (isAttached) {
|
||||
if (isAttached && attachedName) {
|
||||
result = createWithChildren(
|
||||
kind, context, attachedName, macroName, discriminator);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user