diff options
Diffstat (limited to 'compiler/packages.nim')
-rw-r--r-- | compiler/packages.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/packages.nim b/compiler/packages.nim index 6ceeb1ccc..d8b97e374 100644 --- a/compiler/packages.nim +++ b/compiler/packages.nim @@ -16,6 +16,10 @@ import "." / [options, ast, lineinfos, idents, pathutils, msgs] +when defined(nimPreviewSlimSystem): + import std/assertions + + proc getPackage*(conf: ConfigRef; cache: IdentCache; fileIdx: FileIndex): PSym = ## Return a new package symbol. ## |