Looks like a bug, type pragmas are not seen on the user side
type
User {.exportc, packed.} = object
id: int
import macros
macro test(t: typedesc): untyped =
echo t.getType()[1].symbol.getImpl.treerepr
test(User)
gives
TypeDef
Sym "User"
Empty
ObjectTy
Empty
Empty
RecList
IdentDefs
Ident ident"id"
Sym "int"
Empty
no pragmas to be found
