summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-03-12 16:17:58 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-03-12 16:17:58 +0100
commite025b97c1a8a65ca6e86a35aeb84e07cef34522a (patch)
treed9b03c24a9f9e344ad85a137c081a749b1675671
parent4051e436b680d5cb24f0c662820a56ccbc57704c (diff)
parentb72528d6352cb4d1708727d93e5147598a7a7bc7 (diff)
downloadNim-e025b97c1a8a65ca6e86a35aeb84e07cef34522a.tar.gz
Merge pull request #2322 from def-/js-typeinfo
Typeinfo for uints in javascript
-rw-r--r--compiler/jstypes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jstypes.nim b/compiler/jstypes.nim
index 8b032c3ce..1288c854d 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))])