diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2016-10-24 21:10:48 +0800 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2016-10-24 21:10:48 +0800 |
commit | 6f7b891bdc27a92e13acb0a648cafdf7431708fe (patch) | |
tree | 3330726ed26d543d3ceac26a18586cfc569b51b3 /compiler/semmagic.nim | |
parent | 8aecacc1dfd10cfbaf30964e2eb78dd672623d31 (diff) | |
download | Nim-6f7b891bdc27a92e13acb0a648cafdf7431708fe.tar.gz |
remove remnants of tyIter
Diffstat (limited to 'compiler/semmagic.nim')
-rw-r--r-- | compiler/semmagic.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semmagic.nim b/compiler/semmagic.nim index 806b00db6..cd90782d1 100644 --- a/compiler/semmagic.nim +++ b/compiler/semmagic.nim @@ -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 |