This commit is contained in:
Andreas Rumpf 2016-08-23 17:11:10 +02:00
commit 200ccff015

View file

@ -1280,6 +1280,7 @@ proc genInfixCall(p: PProc, n: PNode, r: var TCompRes) =
assert(typ.kind == tyProc) assert(typ.kind == tyProc)
genPatternCall(p, n, pat, typ, r) genPatternCall(p, n, pat, typ, r)
return return
if n.len != 1:
gen(p, n.sons[1], r) gen(p, n.sons[1], r)
if r.typ == etyBaseIndex: if r.typ == etyBaseIndex:
if r.address == nil: if r.address == nil: