summary refs log tree commit diff stats
path: root/compiler/idents.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/idents.nim')
-rw-r--r--compiler/idents.nim7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/idents.nim b/compiler/idents.nim
index d2a84fd36..34177e76d 100644
--- a/compiler/idents.nim
+++ b/compiler/idents.nim
@@ -11,8 +11,11 @@
 # An identifier is a shared immutable string that can be compared by its
 # id. This module is essential for the compiler's performance.
 
-import
-  hashes, wordrecg
+import wordrecg
+import std/hashes
+
+when defined(nimPreviewSlimSystem):
+  import std/assertions
 
 type
   PIdent* = ref TIdent