tnnodeadd.nim 154 B

123456789
  1. discard """
  2. errormsg: "cannot add to node kind: nnkInt8Lit"
  3. line: 7
  4. """
  5. import macros
  6. macro t(x: untyped): untyped =
  7. x.add(newEmptyNode())
  8. t(38'i8)