summary refs log tree commit diff stats
path: root/compiler/errorhandling.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/errorhandling.nim')
-rw-r--r--compiler/errorhandling.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/errorhandling.nim b/compiler/errorhandling.nim
index cda7ab3f4..a8361105e 100644
--- a/compiler/errorhandling.nim
+++ b/compiler/errorhandling.nim
@@ -12,6 +12,9 @@
 
 import ast, renderer, options, strutils, types
 
+when defined(nimPreviewSlimSystem):
+  import std/assertions
+
 type
   ErrorKind* = enum ## expand as you need.
     RawTypeMismatchError