move assertions out of system (#19599)

This commit is contained in:
flywind 2022-03-24 03:34:53 +08:00 • committed by GitHub
commit 7f6e800caf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
110 changed files with 361 additions and 10 deletions

View file

@ -10,6 +10,10 @@
# An `include` file which contains common code for
# hash sets and tables.
when defined(nimPreviewSlimSystem):
import std/assertions
const
growthFactor = 2

View file

@ -84,6 +84,10 @@ import std/private/since
import macros
when defined(nimPreviewSlimSystem):
import std/assertions
when defined(nimHasEffectsOf):
{.experimental: "strictEffects".}
else: