From 3b82419202a38766a87af252d7d0074644a4dbeb Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 14 Jun 2022 02:28:13 +0300 Subject: [PATCH] fix error messages --- src/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm.c b/src/vm.c index 1e43cc1d..cf104f69 100644 --- a/src/vm.c +++ b/src/vm.c @@ -475,14 +475,14 @@ NOINLINE Block* compile(B bcq, B objs, B allBlocks, B allBodies, B indices, B to FORCE_INLINE bool v_merge(Scope* pscs[], B s, B x, bool upd, bool hdr) { B o = c(WrappedObj,s)->obj; - if (!isArr(x) || rnk(x)==0) thrF("[…]%S𝕩: 𝕩 cannot have rank 0", upd? "↩" : "←"); + if (!isArr(x) || rnk(x)==0) thrF("[…]%U𝕩: 𝕩 cannot have rank 0", upd? "↩" : "←"); B* op = harr_ptr(o); usz oia = a(o)->ia; if (a(x)->sh[0] != oia) { if (hdr) return false; - else thrF("[…]%S𝕩: Target length & leading axis of 𝕩 didn't match", upd? "↩" : "←"); + else thrF("[…]%U𝕩: Target length & leading axis of 𝕩 didn't match", upd? "↩" : "←"); } if (rnk(x)==1) {