mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 20:47:53 +00:00
committed by
Andreas Rumpf
parent
35d48765fb
commit
0ead17bf0e
@@ -1386,7 +1386,8 @@ proc createObjInitList(p: PProc, typ: PType, excludedFieldIDs: IntSet, output: v
|
||||
if output.len > 0: output.add(", ")
|
||||
addf(output, "m_type: $1" | "'m_type' => $#", [genTypeInfo(p, t)])
|
||||
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]
|
||||
|
||||
proc arrayTypeForElemType(typ: PType): string =
|
||||
|
||||
Reference in New Issue
Block a user