about summary refs log tree commit diff stats
path: root/055shape_shifting_container.cc
diff options
context:
space:
mode:
Diffstat (limited to '055shape_shifting_container.cc')
-rw-r--r--055shape_shifting_container.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc
index 131028a5..596c691e 100644
--- a/055shape_shifting_container.cc
+++ b/055shape_shifting_container.cc
@@ -8,6 +8,17 @@ if (!type->atom)
 :(before "End is_mu_exclusive_container(type) Special-cases")
 if (!type->atom)
   return is_mu_exclusive_container(root_type(type));
+// a few calls to root_type() without the assertion (for better error handling)
+:(after "Update GET base_type in Check")
+if (!base_type->atom) base_type = base_type->left;
+:(after "Update GET base_type in Run")
+if (!base_type->atom) base_type = base_type->left;
+:(after "Update PUT base_type in Check")
+if (!base_type->atom) base_type = base_type->left;
+:(after "Update PUT base_type in Run")
+if (!base_type->atom) base_type = base_type->left;
+:(after "Update MAYBE_CONVERT base_type in Check")
+if (!base_type->atom) base_type = base_type->left;
 
 :(scenario size_of_shape_shifting_container)
 container foo:_t [