allow building 1.4.0 from devel (#18708)
* allow building 1.4.0 from devel * changelog
This commit is contained in:
parent
0778a38bbd
commit
7b58dc2de0
6 changed files with 29 additions and 7 deletions
|
|
@ -290,6 +290,7 @@ proc evalOp(m: TMagic, n, a, b, c: PNode; idgen: IdGenerator; g: ModuleGraph): P
|
|||
of mBoolToStr:
|
||||
if getOrdValue(a) == 0: result = newStrNodeT("false", n, g)
|
||||
else: result = newStrNodeT("true", n, g)
|
||||
of mFloatToStr: result = newStrNodeT($getFloat(a), n, g)
|
||||
of mCStrToStr, mCharToStr:
|
||||
if a.kind == nkBracket:
|
||||
var s = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue