diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2022-10-16 21:24:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 20:24:16 +0200 |
commit | 081dfea746d77f838dc60aecaf578abbba838ec5 (patch) | |
tree | d64579fb375185a759931c3f886fe4068a033d66 /compiler/passes.nim | |
parent | 0bacdf5fdf86a01132d2817599ad0a7f155a101e (diff) | |
download | Nim-081dfea746d77f838dc60aecaf578abbba838ec5.tar.gz |
Fix "imported but not used" warnings (#20575)
Diffstat (limited to 'compiler/passes.nim')
-rw-r--r-- | compiler/passes.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim index 46c36f9d1..a8f67300c 100644 --- a/compiler/passes.nim +++ b/compiler/passes.nim @@ -14,7 +14,10 @@ import options, ast, llstream, msgs, idents, syntaxes, modulegraphs, reorder, - lineinfos, pathutils, std/sha1, packages + lineinfos, pathutils, packages + +when defined(nimsuggest): + import std/sha1 when defined(nimPreviewSlimSystem): import std/syncio |