fixes merge conflict

This commit is contained in:
Araq 2018-08-23 11:30:55 +02:00
commit 30597e643f
40 changed files with 1844 additions and 1695 deletions

View file

@ -352,6 +352,11 @@ proc isOpImpl(c: PContext, n: PNode, flags: TExprFlags): PNode =
res = t.kind == tyProc and
t.callConv == ccClosure and
tfIterator notin t.flags
of "iterator":
let t = skipTypes(t1, abstractRange)
res = t.kind == tyProc and
t.callConv == ccClosure and
tfIterator in t.flags
else:
res = false
else: