about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-18 16:46:07 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-18 16:46:07 -0800
commit4f32f024b9daafa0e1e0d48244c7f75f49f38db8 (patch)
tree88d070d293ef7178f884c093e9e036a591168890 /030container.cc
parentd5f89e0facc8bdfd93d6e487c90cd450ee21a2e8 (diff)
downloadmu-4f32f024b9daafa0e1e0d48244c7f75f49f38db8.tar.gz
2569
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/030container.cc b/030container.cc
index 042b1df3..373b3590 100644
--- a/030container.cc
+++ b/030container.cc
@@ -553,10 +553,7 @@ void check_or_set_invalid_types(type_tree* type, const string_tree* type_name, c
   // can't assert that type_name is non-null, even at the top of a recursive call tree
   if (!type) return;  // will throw a more precise error elsewhere
   // End Container Type Checks
-  if (type->value == 0) {
-    assert(!type->left && !type->right);
-    return;
-  }
+  if (type->value == 0) return;
   if (!contains_key(Type, type->value)) {
     if (type_name && contains_key(Type_ordinal, type_name->value))
       type->value = get(Type_ordinal, type_name->value);