move assertions out of system (#19599)
This commit is contained in:
parent
a8b5ad845c
commit
7f6e800caf
110 changed files with 361 additions and 10 deletions
|
|
@ -15,6 +15,10 @@
|
|||
import std/private/since
|
||||
export system.`$` # for backward compatibility
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
type HoleyEnum* = (not Ordinal) and enum ## Enum with holes.
|
||||
type OrdinalEnum* = Ordinal and enum ## Enum without holes.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue