made tests green again
This commit is contained in:
parent
1d14cb1ad8
commit
b56df72a32
11 changed files with 16 additions and 8 deletions
|
|
@ -1,11 +1,12 @@
|
|||
discard """
|
||||
output: "Got: 'nnkIntLit' hi"
|
||||
output: "Got: 'nnkMacroStmt' hi"
|
||||
"""
|
||||
|
||||
import
|
||||
macros, strutils
|
||||
|
||||
macro outterMacro*(n: stmt): stmt =
|
||||
let n = callsite()
|
||||
var j : string = "hi"
|
||||
proc innerProc(i: int): string =
|
||||
echo "Using arg ! " & n.repr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue