We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bf36bb commit 018b2efCopy full SHA for 018b2ef
Sources/NodalMacros/NodalMacros.swift
@@ -30,7 +30,7 @@ public struct XMLEncodableMacro: MemberMacro, ExtensionMacro {
30
31
for property in declaration.variableDeclarations {
32
guard let binding = property.bindings.first,
33
- let propertyName = binding.pattern.as(IdentifierPatternSyntax.self)?.identifier.text,
+ let propertyName = binding.pattern.as(IdentifierPatternSyntax.self)?.identifier.text
34
else { continue }
35
36
if let macro = property.attribute(named: "Element") {
0 commit comments