summary refs log tree commit diff stats
path: root/compiler/jsgen.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-08-09 16:32:29 +0800
committerGitHub <noreply@github.com>2022-08-09 16:32:29 +0800
commite8ae2dc90ba62466b3aba212df133f7ad564cbab (patch)
tree902ded8319f73e6df66a0aa4ba875d2ef50e13d3 /compiler/jsgen.nim
parentcddd4de658fccc9c715cebb6788312f82d5b03a8 (diff)
downloadNim-e8ae2dc90ba62466b3aba212df133f7ad564cbab.tar.gz
bootstrap the compiler with nimPreviewSlimSystem (#20176)
* bootstrap the compiler with nimPreviewSlimSystem

* threads
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r--compiler/jsgen.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim
index 6d34fcae2..60d10f58d 100644
--- a/compiler/jsgen.nim
+++ b/compiler/jsgen.nim
@@ -37,6 +37,10 @@ import
 
 import json, sets, math, tables, intsets, strutils
 
+when defined(nimPreviewSlimSystem):
+  import std/[assertions, syncio]
+
+
 type
   TJSGen = object of PPassContext
     module: PSym