more spaces around names between name and 𝕨/𝕩 in error messages
This commit is contained in:
parent
bdf9a52625
commit
05a9cd736b
@ -257,7 +257,7 @@ static B unshare(B x) {
|
||||
for (usz i = 0; i < xia; i++) rp[i] = unshare(xp[i]);
|
||||
return unshareShape(r);
|
||||
}
|
||||
default: thrF("𝕨•internal.Unshare𝕩: Cannot unshare array with type %i=%S", TY(x), type_repr(TY(x)));
|
||||
default: thrF("•internal.Unshare 𝕩: Cannot unshare array with type %i=%S", TY(x), type_repr(TY(x)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -93,6 +93,9 @@ f←•ReBQN{primitives⇐⋈'÷'‿- ⋄ system⇐⟨"primitives", "foo"‿⋈,
|
||||
!"•ns.Has: 𝕩 must be a string" % {⇐}•ns.Has 1‿2
|
||||
!"•ns.Get: 𝕩 must be a string" % {⇐}•ns.Get ≍""
|
||||
!"•ns.Get: 𝕩 must be a string" % {⇐}•ns.Get 1‿2
|
||||
!"𝕨 •ns.Get 𝕩: 𝕨 must be a namespace" % 1•ns.Get "hi"
|
||||
!"𝕨 •ns.Has 𝕩: 𝕨 must be a namespace" % 1•ns.Has "hi"
|
||||
!"•ns.Keys 𝕩: 𝕩 must be a namespace" % •ns.Keys 1
|
||||
{m←𝕩 ⋄ ⟨{𝕩 ⋈ m•ns.Get 𝕩}¨ •ns.Keys m ⋄ {m•ns.Has⋈𝕩}¨ "abcABC"⟩}¨ ⟨{a⇐1⋄b⇐↕10} ⋄ {a⇐'a'⋄b←2‿3⋄cde⇐𝕩}"abc"⟩ %% ⟨⟨⟨⟨"a",1⟩,⟨"b",0‿1‿2‿3‿4‿5‿6‿7‿8‿9⟩⟩,1‿1‿0‿1‿1‿0⟩,⟨⟨⟨"a",'a'⟩,⟨"cde","abc"⟩⟩,1‿0‿0‿1‿0‿0⟩⟩
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user