revert include system/exceptions

This commit is contained in:
ringabout
2025-12-16 22:25:21 +08:00
parent b816cb9000
commit c71854756a

View File

@@ -554,7 +554,8 @@ type
## Abstract class for all exceptions that are catchable.
include "system/exceptions"
when defined(nimIcIntegrityChecks):
include "system/exceptions"
when defined(js) or defined(nimdoc):
type
@@ -1683,6 +1684,10 @@ when not defined(js) and defined(nimV2):
vTable: UncheckedArray[pointer] # vtable for types
PNimTypeV2 = ptr TNimTypeV2
when not defined(nimIcIntegrityChecks):
import system/exceptions
export exceptions
when notJSnotNims and defined(nimSeqsV2):
include "system/strs_v2"
include "system/seqs_v2"