Skip to content

Commit f489962

Browse files
committed
Fix a silly bug in expanding attached macros in the plugin
1 parent 9445fc6 commit f489962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCompilerPluginMessageHandling/Macros.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ extension PluginProviderMessageHandler {
151151

152152
func addToSourceManager(_ syntax: PluginMessage.Syntax) -> Syntax {
153153
sourceManager.add(
154-
attributeSyntax,
154+
syntax,
155155
swiftVersion: swiftVersion,
156156
experimentalFeatures: experimentalFeatures,
157157
foldingWith: .standardOperators

0 commit comments

Comments
 (0)