diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-03-29 10:58:01 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-29 10:58:01 +0200 |
commit | 720eca574464ba96d7c93548d6a1e365d919365f (patch) | |
tree | 4244445744ba2ed2f41d375c30d9f3f105065e30 /compiler | |
parent | 3ffde39cf416579144d37021f24c99e49efc0aee (diff) | |
download | Nim-720eca574464ba96d7c93548d6a1e365d919365f.tar.gz |
added a codegen note
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/jsgen.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index f5e8027b3..9c50a4fc9 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1391,6 +1391,7 @@ proc createObjInitList(p: PProc, typ: PType, excludedFieldIDs: IntSet, output: v t = t.sons[0] proc arrayTypeForElemType(typ: PType): string = + # XXX This should also support tyEnum and tyBool case typ.kind of tyInt, tyInt32: "Int32Array" of tyInt16: "Int16Array" |