diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-05-26 15:12:09 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-05-26 15:12:09 +0300 |
commit | d82a032566de1612ff1ed2d82cc7ec2bd58267d7 (patch) | |
tree | d404952f36be4a51dee51111212588b359b76e50 /compiler/seminst.nim | |
parent | 46813bbe4e1423181521d4792b9af7593f48fa1f (diff) | |
download | Nim-d82a032566de1612ff1ed2d82cc7ec2bd58267d7.tar.gz |
fix tforwardgeneric
Diffstat (limited to 'compiler/seminst.nim')
-rw-r--r-- | compiler/seminst.nim | 2 |
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() |