From c71854756a79244cf944f9231a9e52b998fbf99d Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 16 Dec 2025 22:25:21 +0800 Subject: [PATCH] revert `include system/exceptions` --- lib/system.nim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index c58fcef14a..65ad8824dc 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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"