# `Error: invalid expression: A {..} = object` # You can annotate type fields that I know for sure, this here seems somehow to # not work: import std/macros macro serverMessage(input: typed): untyped = echo input.treeRepr return input type A {.serverMessage.} = object