bootstrap the compiler with nimPreviewSlimSystem (#20176)
* bootstrap the compiler with nimPreviewSlimSystem * threads
This commit is contained in:
parent
cddd4de658
commit
e8ae2dc90b
19 changed files with 68 additions and 1 deletions
|
|
@ -286,6 +286,10 @@ efficiency and perform different checks.
|
|||
import macros, parseutils
|
||||
import std/private/since
|
||||
|
||||
when defined(nimPreviewSlimSystem):
|
||||
import std/assertions
|
||||
|
||||
|
||||
proc conditionsToIfChain(n, idx, res: NimNode; start: int): NimNode =
|
||||
assert n.kind == nnkStmtList
|
||||
if start >= n.len: return newAssignment(res, newLit true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue