diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-05-29 22:21:51 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-29 22:21:51 +0200 |
commit | 5b27b263fd76484fa6251ccd29520c2764b55818 (patch) | |
tree | 0629164266d4183ace4503d77f0d2a999fc9693f /tests/misc/thallo.nim | |
parent | eb471acffb02ebb14ada8483f8c8043a1c8e8210 (diff) | |
download | Nim-5b27b263fd76484fa6251ccd29520c2764b55818.tar.gz |
Remove immediate pragma (#11308)
* remove immediate from tests * remove immediate from the compiler
Diffstat (limited to 'tests/misc/thallo.nim')
-rw-r--r-- | tests/misc/thallo.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/thallo.nim b/tests/misc/thallo.nim index 7172a6b46..f61ce2ef2 100644 --- a/tests/misc/thallo.nim +++ b/tests/misc/thallo.nim @@ -28,7 +28,7 @@ macro macrotest(n: varargs[untyped]): untyped = result.add(newCall("write", n[1], n[i])) result.add(newCall("writeLine", n[1], newStrLitNode(""))) -macro debug(n: untyped): untyped {.immediate.} = +macro debug(n: untyped): untyped = let n = callsite() result = newNimNode(nnkStmtList, n) for i in 1..n.len-1: |