move assertions out of system (#19599)
This commit is contained in:
parent
a8b5ad845c
commit
7f6e800caf
110 changed files with 361 additions and 10 deletions
|
|
@ -316,6 +316,10 @@ single letter DSLs.
|
|||
import macros, parseutils, unicode
|
||||
import strutils except format
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
proc mkDigit(v: int, typ: char): string {.inline.} =
|
||||
assert(v < 26)
|
||||
if v < 10:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue