summary refs log tree commit diff stats
path: root/rod/semfold.nim
diff options
context:
space:
mode:
Diffstat (limited to 'rod/semfold.nim')
-rwxr-xr-xrod/semfold.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/rod/semfold.nim b/rod/semfold.nim
index 7d9cbfe52..78968d705 100755
--- a/rod/semfold.nim
+++ b/rod/semfold.nim
@@ -275,7 +275,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode =
   of mNewString, mExit, mInc, ast.mDec, mEcho, mAssert, mSwap, mAppendStrCh, 
      mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, mNLen..mNError: 
     nil
-  else: InternalError(a.info, "evalOp(" & magicToStr[m] & ')')
+  else: InternalError(a.info, "evalOp(" & $m & ')')
   
 proc getConstIfExpr(c: PSym, n: PNode): PNode = 
   var it, e: PNode