diff options
| author | mryouse | 2022-07-20 21:00:37 +0000 |
|---|---|---|
| committer | mryouse | 2022-07-20 21:00:37 +0000 |
| commit | 87417b58b0c0abd047a85d3e42d037b443b53f47 (patch) | |
| tree | ab6e6e522cf99358348f2507243ee696b7c4daf6 | |
| parent | 5783855aeb18dce5faee59c7a906cc9ff4b7cffc (diff) | |
remove [] from expected type output for clarity
| -rw-r--r-- | neb/__init__.py | 2 |
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) |
