From fc1410099d6ccbb72adb54ecffd0711348706ca4 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 27 Feb 2022 20:39:54 +0200 Subject: Have cant_happen() give more information. --- debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index e7dd7060..2849a4c1 100644 --- a/debug.c +++ b/debug.c @@ -1732,7 +1732,7 @@ watchpoint_triggered(struct list_item *w) case Node_var_new: break; default: - cant_happen(); + cant_happen("unexpected symbol type %s", nodetype2str(symbol->type)); } } -- cgit v1.2.3