parent
35d48765fb
commit
0ead17bf0e
1 changed files with 2 additions and 1 deletions
|
|
@ -1386,7 +1386,8 @@ proc createObjInitList(p: PProc, typ: PType, excludedFieldIDs: IntSet, output: v
|
||||||
if output.len > 0: output.add(", ")
|
if output.len > 0: output.add(", ")
|
||||||
addf(output, "m_type: $1" | "'m_type' => $#", [genTypeInfo(p, t)])
|
addf(output, "m_type: $1" | "'m_type' => $#", [genTypeInfo(p, t)])
|
||||||
while t != nil:
|
while t != nil:
|
||||||
createRecordVarAux(p, t.skipTypes(skipPtrs).n, excludedFieldIDs, output)
|
t = t.skipTypes(skipPtrs)
|
||||||
|
createRecordVarAux(p, t.n, excludedFieldIDs, output)
|
||||||
t = t.sons[0]
|
t = t.sons[0]
|
||||||
|
|
||||||
proc arrayTypeForElemType(typ: PType): string =
|
proc arrayTypeForElemType(typ: PType): string =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue