Skip to content

Commit 9f5a7a0

Browse files
committed
[ASTGen] Fix a silly typo that caused a bogus protocol conformance list to be
passed to extension macro expansion on the plugin server code path. (cherry picked from commit 48637c6)
1 parent f02f5b2 commit 9f5a7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ASTGen/Sources/ASTGen/Macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ func expandAttachedMacroIPC(
837837
}
838838

839839
let conformanceListSyntax: PluginMessage.Syntax?
840-
if (qualifiedType.isEmpty) {
840+
if (conformanceList.isEmpty) {
841841
conformanceListSyntax = nil
842842
} else {
843843
let placeholderDecl: DeclSyntax =

0 commit comments

Comments
 (0)