minor tweaks; updated todo.txt
This commit is contained in:
parent
e6675bd8b2
commit
fab8cee13d
5 changed files with 16 additions and 17 deletions
|
|
@ -380,6 +380,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode): PNode =
|
|||
of mInSet: result = newIntNodeT(ord(inSet(a, b)), n)
|
||||
of mRepr:
|
||||
# BUGFIX: we cannot eval mRepr here for reasons that I forgot.
|
||||
discard
|
||||
of mIntToStr, mInt64ToStr: result = newStrNodeT($(getOrdValue(a)), n)
|
||||
of mBoolToStr:
|
||||
if getOrdValue(a) == 0: result = newStrNodeT("false", n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue