summary refs log tree commit diff stats
path: root/lib/std/jsbigints.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/jsbigints.nim')
-rw-r--r--lib/std/jsbigints.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/jsbigints.nim b/lib/std/jsbigints.nim
index 27df8fdad..04578fc87 100644
--- a/lib/std/jsbigints.nim
+++ b/lib/std/jsbigints.nim
@@ -3,6 +3,9 @@
 when not defined(js):
   {.fatal: "Module jsbigints is designed to be used with the JavaScript backend.".}
 
+when defined(nimPreviewSlimSystem):
+  import std/assertions
+
 type JsBigIntImpl {.importjs: "bigint".} = int # https://github.com/nim-lang/Nim/pull/16606
 type JsBigInt* = distinct JsBigIntImpl         ## Arbitrary precision integer for JavaScript target.