diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-11-08 14:46:48 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-11-08 14:46:48 -0800 |
commit | b954ac3812f15482db28db83a39ab7f6e56a4b06 (patch) | |
tree | 3b18b6a52897f0b52f254f379812980ebee92636 /030container.cc | |
parent | 785a60fae9e2c55951f6c2053640c4d1da1174cf (diff) | |
download | mu-b954ac3812f15482db28db83a39ab7f6e56a4b06.tar.gz |
2399 - consistent debug_string vocabulary
Diffstat (limited to '030container.cc')
-rw-r--r-- | 030container.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/030container.cc b/030container.cc index 0db73c1d..72ac7e73 100644 --- a/030container.cc +++ b/030container.cc @@ -160,7 +160,7 @@ case GET: { // Update GET product in Check const reagent element = element_type(base, offset_value); if (!types_match(product, element)) { - raise_error << maybe(get(Recipe, r).name) << "'get' " << offset.original_string << " (" << offset_value << ") on " << get(Type, base_type).name << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end(); + raise_error << maybe(get(Recipe, r).name) << "'get' " << offset.original_string << " (" << offset_value << ") on " << get(Type, base_type).name << " can't be saved in " << product.original_string << "; type should be " << debug_string(element.type) << '\n' << end(); break; } break; @@ -185,7 +185,7 @@ case GET: { trace(9998, "run") << "address to copy is " << src << end(); reagent tmp = element_type(base, offset); tmp.set_value(src); - trace(9998, "run") << "its type is " << dump_types(tmp) << end(); + trace(9998, "run") << "its type is " << debug_string(tmp.type) << end(); products.push_back(read_memory(tmp)); break; } @@ -292,7 +292,7 @@ case GET_ADDRESS: { // ..except for an address at the start element.type = new type_tree(get(Type_ordinal, "address"), element.type); if (!types_match(product, element)) { - raise_error << maybe(get(Recipe, r).name) << "'get-address' " << offset.original_string << " (" << offset_value << ") on " << get(Type, base_type).name << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end(); + raise_error << maybe(get(Recipe, r).name) << "'get-address' " << offset.original_string << " (" << offset_value << ") on " << get(Type, base_type).name << " can't be saved in " << product.original_string << "; type should be " << debug_string(element.type) << '\n' << end(); break; } break; |