summary refs log tree commit diff stats
path: root/compiler/ropes.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ropes.nim')
-rw-r--r--compiler/ropes.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/ropes.nim b/compiler/ropes.nim
index cd696a545..a44d84ddc 100644
--- a/compiler/ropes.nim
+++ b/compiler/ropes.nim
@@ -60,6 +60,10 @@ import
 
 from pathutils import AbsoluteFile
 
+when defined(nimPreviewSlimSystem):
+  import std/[assertions, syncio]
+
+
 type
   FormatStr* = string  # later we may change it to CString for better
                        # performance of the code generator (assignments