This works for me so I guess it's because you are overloading @ which is magic
    
    
    import macros
    
    macro `@!<>`(s: untyped): string =
      result = toStrLit(s)
    echo @!<>foo
    
    
    Run

Furthermore I suppose it's because @ accepts generic params and so you are in 
the [meta issue of Early symbol resolution with macros + 
generics](https://github.com/nim-lang/Nim/issues/8677)

Reply via email to