From 110e2a50bec282f31584461ddb5116d8768d942d Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 23 Dec 2025 22:28:05 +0800 Subject: [PATCH] fixing --- compiler/isolation_check.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/isolation_check.nim b/compiler/isolation_check.nim index a26cd74646..3da642336b 100644 --- a/compiler/isolation_check.nim +++ b/compiler/isolation_check.nim @@ -166,7 +166,7 @@ proc containsVariable(n: PNode): bool = proc checkIsolate*(conf: ConfigRef, n: PNode): bool = if conf.selectedGC notin {gcArc, gcAtomicArc, gcOrc} and containsGarbageCollectedRef(n.typ): - message(conf, n.info, warnGcIsolated, "Garbage-collected types '$#' cannot be isolated in refc" % [$n.typ]) + message(conf, n.info, warnGcIsolated, "'$#' containing garbage-collected types cannot be isolated in refc" % [$n.typ]) if types.containsTyRef(n.typ): # XXX Maybe require that 'n.typ' is acyclic. This is not much # worse than the already existing inheritance and closure restrictions.