You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SwiftSyntaxMacros/MacroSystem.swift
+16-27Lines changed: 16 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,12 @@ class MacroApplication<Context: MacroExpansionContext>: SyntaxRewriter {
110
110
returntrue
111
111
}
112
112
113
-
return !(macro is PeerMacro.Type || macro is MemberMacro.Type || macro is AccessorMacro.Type || macro is MemberAttributeMacro.Type || macro is ConformanceMacro.Type || macro is ExtensionMacro.Type)
113
+
return
114
+
!(macro is PeerMacro.Type
115
+
|| macro is MemberMacro.Type
116
+
|| macro is AccessorMacro.Type
117
+
|| macro is MemberAttributeMacro.Type
118
+
|| macro is ExtensionMacro.Type)
114
119
}
115
120
116
121
if newAttributes.isEmpty {
@@ -186,7 +191,7 @@ class MacroApplication<Context: MacroExpansionContext>: SyntaxRewriter {
0 commit comments