summary refs log tree commit diff stats
path: root/compiler/nilcheck.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nilcheck.nim')
-rw-r--r--compiler/nilcheck.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/nilcheck.nim b/compiler/nilcheck.nim
index 9c2d091f7..49ceb8942 100644
--- a/compiler/nilcheck.nim
+++ b/compiler/nilcheck.nim
@@ -10,6 +10,9 @@
 import ast, renderer, intsets, tables, msgs, options, lineinfos, strformat, idents, treetab, hashes
 import sequtils, strutils, sets
 
+when defined(nimPreviewSlimSystem):
+  import std/assertions
+
 # IMPORTANT: notes not up to date, i'll update this comment again
 #
 # notes: