added a codegen note
This commit is contained in:
parent
3ffde39cf4
commit
720eca5744
1 changed files with 1 additions and 0 deletions
|
|
@ -1391,6 +1391,7 @@ proc createObjInitList(p: PProc, typ: PType, excludedFieldIDs: IntSet, output: v
|
||||||
t = t.sons[0]
|
t = t.sons[0]
|
||||||
|
|
||||||
proc arrayTypeForElemType(typ: PType): string =
|
proc arrayTypeForElemType(typ: PType): string =
|
||||||
|
# XXX This should also support tyEnum and tyBool
|
||||||
case typ.kind
|
case typ.kind
|
||||||
of tyInt, tyInt32: "Int32Array"
|
of tyInt, tyInt32: "Int32Array"
|
||||||
of tyInt16: "Int16Array"
|
of tyInt16: "Int16Array"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue