mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
revert include system/exceptions
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user