From 3b194821d733bb82869492aac586bcf103b8b97a Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:44:50 +0800 Subject: [PATCH] progress --- compiler/semtypes.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index ede1c819e4..1a4bd24965 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -2049,6 +2049,7 @@ proc semTypeIdent(c: PContext, n: PNode): PSym = # proc signature for example if c.inGenericInst > 0: let bound = result.typ.elementType.sym + # the symbol may still point to the uninstantiated generic body type if bound != nil and bound.typ == result.typ.elementType: return bound return result