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 /032array.cc | |
parent | 785a60fae9e2c55951f6c2053640c4d1da1174cf (diff) | |
download | mu-b954ac3812f15482db28db83a39ab7f6e56a4b06.tar.gz |
2399 - consistent debug_string vocabulary
Diffstat (limited to '032array.cc')
-rw-r--r-- | 032array.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/032array.cc b/032array.cc index e2bc4ae2..085e2b52 100644 --- a/032array.cc +++ b/032array.cc @@ -161,7 +161,7 @@ case INDEX: { reagent element; element.type = new type_tree(*array_element(base.type)); if (!types_match(product, element)) { - raise_error << maybe(get(Recipe, r).name) << "'index' on " << base.original_string << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end(); + raise_error << maybe(get(Recipe, r).name) << "'index' on " << base.original_string << " can't be saved in " << product.original_string << "; type should be " << debug_string(element.type) << '\n' << end(); break; } break; @@ -289,7 +289,7 @@ case INDEX_ADDRESS: { element.type = new type_tree(*array_element(base.type)); element.type = new type_tree(get(Type_ordinal, "address"), element.type); if (!types_match(product, element)) { - raise_error << maybe(get(Recipe, r).name) << "'index' on " << base.original_string << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end(); + raise_error << maybe(get(Recipe, r).name) << "'index' on " << base.original_string << " can't be saved in " << product.original_string << "; type should be " << debug_string(element.type) << '\n' << end(); break; } break; |