about summary refs log tree commit diff stats
path: root/031merge.cc
diff options
context:
space:
mode:
Diffstat (limited to '031merge.cc')
-rw-r--r--031merge.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/031merge.cc b/031merge.cc
index c6e08027..034a62da 100644
--- a/031merge.cc
+++ b/031merge.cc
@@ -151,6 +151,7 @@ void check_merge_call(const vector<reagent>& ingredients, const reagent& product
       return;
     }
     reagent& container = state.data.top().container;
+    if (!container.type) return;  // error handled elsewhere
     type_info& container_info = get(Type, container.type->value);
     switch (container_info.kind) {
       case CONTAINER: {