diff --git a/compiler/seminst.nim b/compiler/seminst.nim index ed842d98ef..98f25efa7c 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 fixupProcType(c: PContext, genericType: PType, - inst: TInstantiation): PType = +proc fixupProcTypeR(c: PContext, genericType: PType, + inst: TInstantiation): PType = result = genericType if result == nil: return @@ -167,53 +167,48 @@ proc fixupProcType(c: PContext, genericType: PType, if genericType.sons == nil: return var head = 0 for i in 0 ..