Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
This commit is contained in:
commit
5979d35ab2
5 changed files with 41 additions and 8 deletions
|
|
@ -1431,7 +1431,7 @@ proc genObjConstr(p: PProc, n: PNode, r: var TCompRes) =
|
|||
r.res = toRope("{")
|
||||
r.kind = resExpr
|
||||
for i in countup(1, sonsLen(n) - 1):
|
||||
if i > 0: app(r.res, ", ")
|
||||
if i > 1: app(r.res, ", ")
|
||||
var it = n.sons[i]
|
||||
internalAssert it.kind == nkExprColonExpr
|
||||
gen(p, it.sons[1], a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue