diff options
author | Araq <rumpf_a@web.de> | 2013-07-25 21:25:40 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-07-25 21:25:40 +0200 |
commit | 2c3d1fa9546298015ecc92309abdcd4b2ed4f294 (patch) | |
tree | 8b9cb01ba3f2bad1b0eace8620cea488696c5d50 | |
parent | bdbf0f863d9e9d891d299fc7932e3714bd1ba8ca (diff) | |
download | Nim-2c3d1fa9546298015ecc92309abdcd4b2ed4f294.tar.gz |
bugfix: gensym
-rw-r--r-- | compiler/semfold.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semfold.nim b/compiler/semfold.nim index 9c158b9ef..c9d2575cb 100644 --- a/compiler/semfold.nim +++ b/compiler/semfold.nim @@ -368,7 +368,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode = mExit, mInc, ast.mDec, mEcho, mSwap, mAppendStrCh, mAppendStrStr, mAppendSeqElem, mSetLengthStr, mSetLengthSeq, mParseExprToAst, mParseStmtToAst, mExpandToAst, mTypeTrait, - mNLen..mNError, mEqRef, mSlurp, mStaticExec: + mNLen..mNError, mEqRef, mSlurp, mStaticExec, mNGenSym: nil of mRand: result = newIntNodeT(math.random(a.getInt.int), n) |