summary refs log tree commit diff stats
path: root/compiler/sem.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r--compiler/sem.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim
index 8fac158ba..b6ee76cc9 100644
--- a/compiler/sem.nim
+++ b/compiler/sem.nim
@@ -25,6 +25,9 @@ when defined(nimfix):
 when not defined(leanCompiler):
   import spawn
 
+when defined(nimPreviewSlimSystem):
+  import std/formatfloat
+
 # implementation
 
 proc semExpr(c: PContext, n: PNode, flags: TExprFlags = {}, expectedType: PType = nil): PNode