From b72528d6352cb4d1708727d93e5147598a7a7bc7 Mon Sep 17 00:00:00 2001 From: def Date: Thu, 12 Mar 2015 13:16:47 +0100 Subject: [PATCH] Typeinfo for uints in javascript --- compiler/jstypes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/jstypes.nim b/compiler/jstypes.nim index 8b032c3cec..1288c854df 100644 --- a/compiler/jstypes.nim +++ b/compiler/jstypes.nim @@ -123,7 +123,7 @@ proc genTypeInfo(p: PProc, typ: PType): PRope = case t.kind of tyDistinct: result = genTypeInfo(p, typ.sons[0]) - of tyPointer, tyProc, tyBool, tyChar, tyCString, tyString, tyInt..tyFloat128: + of tyPointer, tyProc, tyBool, tyChar, tyCString, tyString, tyInt..tyUInt64: var s = ropef( "var $1 = {size: 0,kind: $2,base: null,node: null,finalizer: null};$n", [result, toRope(ord(t.kind))])