File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -925,10 +925,10 @@ public struct AddCompletionHandler: PeerMacro {
925
925
let nodeType = node. attributeName. as ( IdentifierTypeSyntax . self) {
926
926
return attributeType. name. text != nodeType. name. text
927
927
}
928
- if let attributeMemberType = attribute. attributeName. as ( MemberTypeIdentifierSyntax . self) ,
929
- let attributeModuleName = attributeMemberType. baseType. as ( SimpleTypeIdentifierSyntax . self) ,
930
- let nodeMemberType = node. attributeName. as ( MemberTypeIdentifierSyntax . self) ,
931
- let moduleName = nodeMemberType. baseType. as ( SimpleTypeIdentifierSyntax . self) {
928
+ if let attributeMemberType = attribute. attributeName. as ( MemberTypeSyntax . self) ,
929
+ let attributeModuleName = attributeMemberType. baseType. as ( IdentifierTypeSyntax . self) ,
930
+ let nodeMemberType = node. attributeName. as ( MemberTypeSyntax . self) ,
931
+ let moduleName = nodeMemberType. baseType. as ( IdentifierTypeSyntax . self) {
932
932
return attributeModuleName. name. text != moduleName. name. text ||
933
933
nodeMemberType. name. text != attributeMemberType. name. text
934
934
}
You can’t perform that action at this time.
0 commit comments