move assertions out of system (#19599)
This commit is contained in:
parent
a8b5ad845c
commit
7f6e800caf
110 changed files with 361 additions and 10 deletions
|
|
@ -71,6 +71,10 @@ supports pattern matching on `Option`s, with the `Some(<pattern>)` and
|
|||
|
||||
import typetraits
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
when (NimMajor, NimMinor) >= (1, 1):
|
||||
type
|
||||
SomePointer = ref | ptr | pointer | proc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue