diff --git a/compiler/seminst.nim b/compiler/seminst.nim index 98f25efa7c..ed842d98ef 100644 --- a/compiler/seminst.nim +++ b/compiler/seminst.nim @@ -148,8 +148,8 @@ proc instGenericContainer(c: PContext, info: TLineInfo, header: PType): PType = proc instGenericContainer(c: PContext, n: PNode, header: PType): PType = result = instGenericContainer(c, n.info, header) -proc fixupProcTypeR(c: PContext, genericType: PType, - inst: TInstantiation): PType = +proc fixupProcType(c: PContext, genericType: PType, + inst: TInstantiation): PType = result = genericType if result == nil: return @@ -167,48 +167,53 @@ proc fixupProcTypeR(c: PContext, genericType: PType, if genericType.sons == nil: return var head = 0 for i in 0 ..