Thanks, `untyped` works. However, I don't think that the source of the errors 
is the duplicated funtion signature, because the following code works and 
prints 3 twice: 
    
    
    macro addEcho1(s: stmt): stmt =
      s.body.add(s.body[1])
      result = s
    
    proc f1() {.addEcho1.} =
      let i = 1+2
      echo i
    f1()
    

Reply via email to