summary refs log tree commit diff stats
path: root/compiler/ccgexprs.nim
diff options
context:
space:
mode:
authorAnatoly Galiulin <galiulin.anatoly@gmail.com>2015-11-23 13:18:05 +0500
committerAnatoly Galiulin <galiulin.anatoly@gmail.com>2015-11-23 13:18:05 +0500
commit98723925d855692037150b844e2c6f645a4c9e45 (patch)
tree4dffae700e30beea7d99286de8360ce4db58cd75 /compiler/ccgexprs.nim
parent3c5a0b1b1a16f386e96370f634f28f9fb7b9f062 (diff)
downloadNim-98723925d855692037150b844e2c6f645a4c9e45.tar.gz
Fixed SIGSEGV on wrong slurp usage
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r--compiler/ccgexprs.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim
index c9ff9d4f0..1a1c1eb6f 100644
--- a/compiler/ccgexprs.nim
+++ b/compiler/ccgexprs.nim
@@ -1733,8 +1733,6 @@ proc genMagicExpr(p: BProc, e: PNode, d: var TLoc, op: TMagic) =
   of mEcho: genEcho(p, e[1].skipConv)
   of mArrToSeq: genArrToSeq(p, e, d)
   of mNLen..mNError, mSlurp..mQuoteAst:
-    echo "from here ", p.prc.name.s, " ", p.prc.info
-    writestacktrace()
     localError(e.info, errXMustBeCompileTime, e.sons[0].sym.name.s)
   of mSpawn:
     let n = lowerings.wrapProcForSpawn(p.module.module, e, e.typ, nil, nil)