Fixes.
h3rald h3rald@h3rald.com
Sun, 16 Jun 2024 12:21:30 +0200
2 files changed,
3 insertions(+),
4 deletions(-)
M
minpkg/core/shell.nim
→
minpkg/core/shell.nim
@@ -3,7 +3,6 @@ import
std/[ strutils, sequtils, - json, critbits, algorithm, streams,
M
minpkg/lib/min_logic.nim
→
minpkg/lib/min_logic.nim
@@ -1,5 +1,5 @@
import - std/math + std/[math, strutils] import ../core/parser, ../core/value,@@ -133,7 +133,7 @@ i.dequote vv
let r = i.pop c.inc() if not r.isBool: - raiseInvalid("Quotation #$# does not evaluate to a boolean value") + raiseInvalid("Quotation #$# does not evaluate to a boolean value" % [$c]) if not r.boolVal: i.push r return@@ -157,7 +157,7 @@ i.dequote vv
let r = i.pop c.inc() if not r.isBool: - raiseInvalid("Quotation #$# does not evaluate to a boolean value") + raiseInvalid("Quotation #$# does not evaluate to a boolean value" % [$c]) if r.boolVal: i.push r return