summary refs log tree commit diff stats
path: root/compiler/seminst.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-08-19 01:29:47 +0300
committerZahary Karadjov <zahary@gmail.com>2013-08-19 01:29:47 +0300
commitfc858927f037a3218859cf6be4e97f0976433805 (patch)
treead6dc1ca2a9add6881947a0aa8e8ab687f67b8f8 /compiler/seminst.nim
parentf760bc243b957ec8ebb529b9eadea53fc93adca5 (diff)
downloadNim-fc858927f037a3218859cf6be4e97f0976433805.tar.gz
Revert "Revert "fix tforwardgeneric""
This reverts commit e3f93241c3824e49b69c647bbd44726a79e8f8f8.
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()