make tests green again

This commit is contained in:
Araq
2017-11-23 13:06:02 +01:00
parent f2e13909d3
commit c1ad75fa5c

View File

@@ -1050,6 +1050,7 @@ proc semProcTypeNode(c: PContext, n, genericParams: PNode,
result.flags.incl tfIterator
# XXX Would be nice if we could get rid of this
result.sons[0] = r
propagateToOwner(result, r)
result.n.typ = r
if genericParams != nil and genericParams.len > 0: