Unable to manually attach ObservationTracked. Is this intended behavior?

It seems in the current implementation of SwiftSyntax, the DeclSyntaxProtocol parameter of the secondary macro implementation type (in this case ObservationTrackedMacro) will not include the attribute syntax (in this case @ObservationTracked) generated from the primary macro implementation type (ObservationMacro).

Though a little bit magic, this surely is handy in some way...

1 Like