From 7d644651675e586a45eb1ec4741f7ec96692fb35 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 25 Nov 2025 21:58:33 +0800 Subject: [PATCH] adds `proc `=copy`*(x: StackTraceEntry) {.error.}` for `nimStackTraceOverride` --- lib/system.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/system.nim b/lib/system.nim index c7667cfba4..a5ccb74f28 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -553,6 +553,9 @@ type CatchableError* = object of Exception ## \ ## Abstract class for all exceptions that are catchable. +when defined(nimStackTraceOverride): + proc `=copy`*(x: StackTraceEntry) {.error.} + when defined(nimIcIntegrityChecks): include "system/exceptions"