Remove expr/stmt (#5857)

This commit is contained in:
Arne Döring 2017-07-25 09:28:23 +02:00 • committed by Andreas Rumpf
commit 000b8afd26
168 changed files with 497 additions and 529 deletions

View file

@ -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