From e99429f7eeaf756619811536e4fd571de7cc4a6c Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 11 Sep 2025 23:07:39 +0800 Subject: [PATCH] fixes --- compiler/ccgtypes.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim index ac86b430ec..d2883a6a6f 100644 --- a/compiler/ccgtypes.nim +++ b/compiler/ccgtypes.nim @@ -2001,8 +2001,8 @@ proc genTypeInfoV1(m: BModule; t: PType; info: TLineInfo): Rope = of tyRef: genTypeInfoAux(m, t, t, result, info) if m.config.selectedGC in {gcMarkAndSweep, gcRefc, gcGo}: - # it may not be used in other places exccept in `genTraverseProc`, - # we have to generate a typedesc for this case + # it may not be used in other places except in `genTraverseProc`, + # we have to generate a typedesc for this case, not a weak one discard getTypeDesc(m, origType.base) let markerProc = genTraverseProc(m, origType, sig) m.s[cfsTypeInit3].addFieldAssignment(tiNameForHcr(m, result), "marker", markerProc)