aboutsummaryrefslogtreecommitdiff
path: root/neb
diff options
context:
space:
mode:
authormryouse2022-07-20 21:00:37 +0000
committermryouse2022-07-20 21:00:37 +0000
commit87417b58b0c0abd047a85d3e42d037b443b53f47 (patch)
treeab6e6e522cf99358348f2507243ee696b7c4daf6 /neb
parent5783855aeb18dce5faee59c7a906cc9ff4b7cffc (diff)
remove [] from expected type output for clarity
Diffstat (limited to 'neb')
-rw-r--r--neb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neb/__init__.py b/neb/__init__.py
index 8fb2acb..8a08daf 100644
--- a/neb/__init__.py
+++ b/neb/__init__.py
@@ -217,7 +217,7 @@ class MultiFunction(Callable):
if len(next_candidates) == 0:
fmt = "|".join(f"{t}" for t in current_types)
rec = f"{ev.type_}"
- raise InterpretPanic(symbol, f"received {rec}, expected [{fmt}]", ev)
+ raise InterpretPanic(symbol, f"received {rec}, expected {fmt}", ev)
else:
ret.append(ev)