diff --git a/lib/system.nim b/lib/system.nim index a5ccb74f28..67714169ea 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -554,7 +554,7 @@ type ## Abstract class for all exceptions that are catchable. when defined(nimStackTraceOverride): - proc `=copy`*(x: StackTraceEntry) {.error.} + proc `=copy`*(x: var StackTraceEntry, y: StackTraceEntry) {.error.} when defined(nimIcIntegrityChecks): include "system/exceptions"