Revert "static and default params for generics"

This reverts commit 46813bbe4e.
This commit is contained in:
Araq 2013-05-27 23:18:38 +02:00
commit 0662ec4a43
4 changed files with 62 additions and 93 deletions

View file

@ -710,8 +710,7 @@ proc typeSectionRightSidePass(c: PContext, n: PNode) =
# TGObj[T] = object
# TAlias[T] = TGObj[T]
#
s.typ.n = semGenericParamList(c, a.sons[1], s.typ)
a.sons[1] = s.typ.n
a.sons[1] = semGenericParamList(c, a.sons[1], s.typ)
s.typ.size = -1 # could not be computed properly
# we fill it out later. For magic generics like 'seq', it won't be filled
# so we use tyEmpty instead of nil to not crash for strange conversions