about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--058generic_container.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/058generic_container.cc b/058generic_container.cc
index 0918e35a..e36872c4 100644
--- a/058generic_container.cc
+++ b/058generic_container.cc
@@ -148,7 +148,7 @@ void replace_type_ingredients(type_tree* element_type, type_tree* callsite_type)
   if (element_type->value >= START_TYPE_INGREDIENTS) {
     element_type->value = nth_type(callsite_type, element_type->value-START_TYPE_INGREDIENTS);
   }
-  replace_type_ingredients(element_type->right, callsite_type->right);
+  replace_type_ingredients(element_type->right, callsite_type);
 }
 
 type_ordinal nth_type(type_tree* base, long long int n) {