fix tforwardgeneric

This commit is contained in:
Zahary Karadjov 2013-05-26 15:12:09 +03:00
commit d82a032566
4 changed files with 8 additions and 6 deletions

View file

@ -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()