1 2 3 4 5 6 7 8
discard """ errormsg: "cannot set child of node kind: nnkStrLit" line: 7 """ import macros macro t(x: untyped): untyped = x[0] = newEmptyNode() t("abc")