Skip to content

Commit 8e3f6c4

Browse files
author
Alexander Schmutz
committed
Move file and update throwing error message
1 parent 8574a33 commit 8e3f6c4

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/StructBuilderMacro/BuildableMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public struct BuildableMacro: PeerMacro {
3030
return [DeclSyntax(classBuilder)]
3131
}
3232

33-
throw "Macro can only be applied to struct and enum declarations"
33+
throw "Macro can only be applied to struct, class and enum declarations"
3434
}
3535
}

Sources/StructBuilderMacro/Utils/Model/StructMember.swift renamed to Sources/StructBuilderMacro/StructAndClass/Model/StructMember.swift

File renamed without changes.

0 commit comments

Comments
 (0)