diff options
-rw-r--r-- | 057shape_shifting_container.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/057shape_shifting_container.cc b/057shape_shifting_container.cc index 5427d3a1..8014b86a 100644 --- a/057shape_shifting_container.cc +++ b/057shape_shifting_container.cc @@ -298,8 +298,7 @@ void replace_type_ingredients(type_tree* element_type, const type_tree* callsite // rather than {foo: (number)} // We'd also like to use it with multiple types: foo:address:number. replacement = curr; - if (!final_type_ingredient(type_ingredient_index, container_info)) - splice_right = false; + splice_right = final_type_ingredient(type_ingredient_index, container_info); } } if (element_type->right && replacement->right && zig_left) { // ZERO confidence that this condition is accurate |