summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-29 17:12:31 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-29 17:12:31 -0400
commita602ea2db3cbb07bfed2263a5e66eefb10be7703 (patch)
treeb2344b80383c02493f55b35df87f9252d209faf1
parente4471d7504c6d057ee0ba646c70732c239511687 (diff)
Clarify error message for using result of if statement with runtime condition
-rw-r--r--singeli.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/singeli.bqn b/singeli.bqn
index 9ff3dff..fc5d342 100644
--- a/singeli.bqn
+++ b/singeli.bqn
@@ -1069,7 +1069,7 @@ nodes ← {
functions.Goto¨ lt ← functions.Label¨ else
functions.SetLabel lf.label
lt { 𝕩.Eval e ⋄ functions.SetLabel 𝕨 }¨ else
- {Shows⇐!∘"Can't use if statement result as value"⋄kind⇐"error"}
+ {Shows⇐!∘"Can't use runtime if statement result as value"⋄kind⇐"error"}
;
numbers.GetBool c ? then.Eval e ;
r ← {Shows⇐!∘"Can't use if-0 statement result as value"⋄kind⇐"error"}