adds proc =copy*(x: StackTraceEntry) {.error.} for nimStackTraceOverride

This commit is contained in:
ringabout
2025-11-25 21:58:33 +08:00
parent 6272cd1f34
commit 7d64465167

View File

@@ -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"