about summary refs log tree commit diff stats
path: root/031address.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-08 14:46:48 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-08 14:46:48 -0800
commitb954ac3812f15482db28db83a39ab7f6e56a4b06 (patch)
tree3b18b6a52897f0b52f254f379812980ebee92636 /031address.cc
parent785a60fae9e2c55951f6c2053640c4d1da1174cf (diff)
downloadmu-b954ac3812f15482db28db83a39ab7f6e56a4b06.tar.gz
2399 - consistent debug_string vocabulary
Diffstat (limited to '031address.cc')
-rw-r--r--031address.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/031address.cc b/031address.cc
index 79c951d0..ebbc4e95 100644
--- a/031address.cc
+++ b/031address.cc
@@ -78,8 +78,7 @@ void lookup_memory(reagent& x) {
 bool canonize_type(reagent& r) {
   while (has_property(r, "lookup")) {
     if (!r.type || r.type->value != get(Type_ordinal, "address")) {
-      raise_error << "can't lookup non-address: " << r.to_string() << '\n' << end();
-      dump_types(r.type, cerr);  cerr << '\n';
+      raise_error << "can't lookup non-address: " << r.to_string() << ": " << debug_string(r.type) << '\n' << end();
       return false;
     }
     drop_address_from_type(r);