From 7f6e800cafc7b73625893fb5280eb8b51a15b252 Mon Sep 17 00:00:00 2001 From: flywind Date: Thu, 24 Mar 2022 03:34:53 +0800 Subject: move assertions out of system (#19599) --- compiler/btrees.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/btrees.nim') diff --git a/compiler/btrees.nim b/compiler/btrees.nim index d5e7e8099..1701f8d7b 100644 --- a/compiler/btrees.nim +++ b/compiler/btrees.nim @@ -10,6 +10,9 @@ ## BTree implementation with few features, but good enough for the ## Nim compiler's needs. +when defined(nimPreviewSlimSystem): + import std/assertions + const M = 512 # max children per B-tree node = M-1 # (must be even and greater than 2) -- cgit 1.4.1-2-gfad0 7dfadb8b4e95d09981fbeb01d85b12f23946c3e7'>this commit This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/build_all.sh
blob: 83848f41a1def552635ee6a248677ac8f1d2be0f (plain) (tree)
1
2
3
4
5
6
7
8
9
10