diff options
author | flywind <xzsflywind@gmail.com> | 2022-03-24 03:34:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 20:34:53 +0100 |
commit | 7f6e800cafc7b73625893fb5280eb8b51a15b252 (patch) | |
tree | 90c7c75dd3056a2940182b3e6ca4c8c192bbb15b /compiler/sempass2.nim | |
parent | a8b5ad845c4218b4f20595df097c593acee53d50 (diff) | |
download | Nim-7f6e800cafc7b73625893fb5280eb8b51a15b252.tar.gz |
move assertions out of system (#19599)
Diffstat (limited to 'compiler/sempass2.nim')
-rw-r--r-- | compiler/sempass2.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index d6cc4180b..9bc811a03 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -12,6 +12,9 @@ import wordrecg, strutils, options, guards, lineinfos, semfold, semdata, modulegraphs, varpartitions, typeallowed, nilcheck, errorhandling, tables +when defined(nimPreviewSlimSystem): + import std/assertions + when defined(useDfa): import dfa |