diff --git a/compiler/sem/seminst.nim b/compiler/sem/seminst.nim index 5a88c010cea..96510129484 100644 --- a/compiler/sem/seminst.nim +++ b/compiler/sem/seminst.nim @@ -119,15 +119,20 @@ proc instantiateBody(c: PContext, n, params: PNode, result, orig: PSym) = trackProc(c, result, result.ast[bodyPos]) dec c.inGenericInst -proc fixupInstantiatedSymbols(c: PContext, s: PSym) = +proc fixupInstantiatedSymbols(c: PContext, s: PSym): bool = + result = true for i in 0..