Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -5,7 +5,7 @@ proc testProc: string {.compileTime.} =
|
|||
result = result & ""
|
||||
|
||||
when true:
|
||||
macro test(n: stmt): stmt {.immediate.} =
|
||||
macro test(n: untyped): untyped =
|
||||
result = newNimNode(nnkStmtList)
|
||||
echo "#", testProc(), "#"
|
||||
test:
|
||||
|
|
@ -20,5 +20,3 @@ echo "##", x, "##"
|
|||
static:
|
||||
var i, j: set[int8] = {}
|
||||
var k = i + j
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue