fix #931 and few more tests

This commit is contained in:
Zahary Karadjov 2014-02-18 20:04:58 +02:00
commit 0bbf6081d0
4 changed files with 17 additions and 17 deletions

View file

@ -705,7 +705,6 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode,
# result.rawAddSon(copyType(paramType.sons[i], getCurrOwner(), true))
result = instGenericContainer(c, paramType.sym.info, result,
allowMetaTypes = true)
result.lastSon.shouldHaveMeta
result = newTypeWithSons(c, tyCompositeTypeClass, @[paramType, result])
result = addImplicitGeneric(result)