summary refs log tree commit diff stats
path: root/compiler/seminst.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-05-26 15:12:09 +0300
committerZahary Karadjov <zahary@gmail.com>2013-05-26 15:12:09 +0300
commitd82a032566de1612ff1ed2d82cc7ec2bd58267d7 (patch)
treed404952f36be4a51dee51111212588b359b76e50 /compiler/seminst.nim
parent46813bbe4e1423181521d4792b9af7593f48fa1f (diff)
downloadNim-d82a032566de1612ff1ed2d82cc7ec2bd58267d7.tar.gz
fix tforwardgeneric
Diffstat (limited to 'compiler/seminst.nim')
-rw-r--r--compiler/seminst.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/seminst.nim b/compiler/seminst.nim
index 35ed00965..431635b9c 100644
--- a/compiler/seminst.nim
+++ b/compiler/seminst.nim
@@ -125,8 +125,6 @@ proc fixupInstantiatedSymbols(c: PContext, s: PSym) =
       openScope(c)
       var n = oldPrc.ast
       n.sons[bodyPos] = copyTree(s.getBody)
-      if n.sons[paramsPos].kind != nkEmpty: 
-        addParams(c, oldPrc.typ.n, oldPrc.kind)
       instantiateBody(c, n, oldPrc)
       closeScope(c)
       popInfoContext()