summary refs log tree commit diff stats
path: root/compiler/semmagic.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-10-24 21:10:48 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-10-24 21:10:48 +0800
commit6f7b891bdc27a92e13acb0a648cafdf7431708fe (patch)
tree3330726ed26d543d3ceac26a18586cfc569b51b3 /compiler/semmagic.nim
parent8aecacc1dfd10cfbaf30964e2eb78dd672623d31 (diff)
downloadNim-6f7b891bdc27a92e13acb0a648cafdf7431708fe.tar.gz
remove remnants of tyIter
Diffstat (limited to 'compiler/semmagic.nim')
-rw-r--r--compiler/semmagic.nim2
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