diff options
Diffstat (limited to '058shape_shifting_container.cc')
-rw-r--r-- | 058shape_shifting_container.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/058shape_shifting_container.cc b/058shape_shifting_container.cc index c7bc38ac..6416aca1 100644 --- a/058shape_shifting_container.cc +++ b/058shape_shifting_container.cc @@ -95,13 +95,7 @@ long long int size_of_type_ingredient(const type_tree* element_template, const t } assert(curr); assert(!curr->left); // unimplemented - if (!contains_key(Type, curr->value)) { - // temporarily while we're still ironing out kinks; eventually replace with a raise_error -//? DUMP(""); - cerr << "missing type " << debug_string(curr) << '\n'; - exit(0); - } - assert(contains_key(Type, curr->value)); + if (!contains_key(Type, curr->value)) return 0; trace(9999, "type") << "type deduced to be " << get(Type, curr->value).name << "$" << end(); type_tree tmp(curr->value); if (curr->right) |