fixes yet another merge conflict

This commit is contained in:
Araq 2018-06-11 17:17:34 +02:00
commit 1074cc1fb9
5 changed files with 4 additions and 109 deletions

View file

@ -985,7 +985,7 @@ proc transformBody*(g: ModuleGraph; module: PSym, n: PNode, prc: PSym): PNode =
if c.needsDestroyPass: #and newDestructors:
result = injectDestructorCalls(g, prc, result)
if prc.isIterator and oldIterTransf notin g.config.features:
if prc.isIterator:
result = g.transformClosureIterator(prc, result)
incl(result.flags, nfTransf)