remove remnants of tyIter

This commit is contained in:
Jacek Sieka 2016-10-24 21:10:48 +08:00
commit 6f7b891bdc
11 changed files with 22 additions and 26 deletions

View file

@ -24,7 +24,7 @@ proc semTypeOf(c: PContext; n: PNode): PNode =
result = newNodeI(nkTypeOfExpr, n.info)
let typExpr = semExprWithType(c, n, {efInTypeof})
result.add typExpr
result.typ = makeTypeDesc(c, typExpr.typ.skipTypes({tyTypeDesc, tyIter}))
result.typ = makeTypeDesc(c, typExpr.typ.skipTypes({tyTypeDesc}))
type
SemAsgnMode = enum asgnNormal, noOverloadedSubscript, noOverloadedAsgn