From a88fbadac422cb1613a303fa4b893390a896697f Mon Sep 17 00:00:00 2001 From: Andy Davidoff Date: Sun, 23 May 2021 12:16:32 -0400 Subject: [PATCH] 2.5.4: rm strictNotNil --- balls.nimble | 2 +- balls/runner.nim | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/balls.nimble b/balls.nimble index ad2f983..d239956 100644 --- a/balls.nimble +++ b/balls.nimble @@ -1,4 +1,4 @@ -version = "2.5.3" +version = "2.5.4" author = "disruptek" description = "a unittest framework with balls 🔴🟡🟢" license = "MIT" diff --git a/balls/runner.nim b/balls/runner.nim index 5be6dac..10e6e22 100644 --- a/balls/runner.nim +++ b/balls/runner.nim @@ -180,9 +180,13 @@ when (NimMajor, NimMinor) >= (1, 2): opt[danger].add "--panics:on" opt[danger].add "--exceptions:goto" opt[danger].add "--experimental:strictFuncs" - if ci: - # notnil is too slow to run locally - opt[danger].add "--experimental:strictNotNil" + when false: + # + # removed because if i cannot make it work, i can hardly expect you to + # + if ci: + # notnil is too slow to run locally + opt[danger].add "--experimental:strictNotNil" else: gc.incl refc # options common to all profiles