From 7186fd8145ca6244ba14c3995e6339b3695924e9 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 12 Sep 2025 15:29:02 +0800 Subject: [PATCH] progress --- compiler/ccgtypes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim index d2883a6a6f..2d8981704e 100644 --- a/compiler/ccgtypes.nim +++ b/compiler/ccgtypes.nim @@ -2003,7 +2003,7 @@ proc genTypeInfoV1(m: BModule; t: PType; info: TLineInfo): Rope = if m.config.selectedGC in {gcMarkAndSweep, gcRefc, gcGo}: # 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) + discard getTypeDesc(m, origType.last) let markerProc = genTraverseProc(m, origType, sig) m.s[cfsTypeInit3].addFieldAssignment(tiNameForHcr(m, result), "marker", markerProc) of tyPtr, tyRange, tyUncheckedArray: genTypeInfoAux(m, t, t, result, info)