move assertions out of system (#19599)
This commit is contained in:
parent
a8b5ad845c
commit
7f6e800caf
110 changed files with 361 additions and 10 deletions
|
|
@ -9,6 +9,9 @@
|
|||
|
||||
import pathutils
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
template setX(k, field) {.dirty.} =
|
||||
a.slots[a.ra].ensureKind(k)
|
||||
a.slots[a.ra].field = v
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue