uint support for JS.
This commit is contained in:
parent
ca5c329533
commit
9b0c704393
1 changed files with 1 additions and 1 deletions
|
|
@ -1118,7 +1118,7 @@ proc createRecordVarAux(p: PProc, rec: PNode, c: var int): PRope =
|
||||||
proc createVar(p: PProc, typ: PType, indirect: bool): PRope =
|
proc createVar(p: PProc, typ: PType, indirect: bool): PRope =
|
||||||
var t = skipTypes(typ, abstractInst)
|
var t = skipTypes(typ, abstractInst)
|
||||||
case t.kind
|
case t.kind
|
||||||
of tyInt..tyInt64, tyEnum, tyChar:
|
of tyInt..tyInt64, tyUInt..tyUInt64, tyEnum, tyChar:
|
||||||
result = putToSeq("0", indirect)
|
result = putToSeq("0", indirect)
|
||||||
of tyFloat..tyFloat128:
|
of tyFloat..tyFloat128:
|
||||||
result = putToSeq("0.0", indirect)
|
result = putToSeq("0.0", indirect)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue