diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-04-29 09:03:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-04-29 09:03:58 -0700 |
commit | 7f902016015e4a7a82d1650e52e7d6f227fcf0ee (patch) | |
tree | 96ff39f5748c264d764d6de7048226880047885f | |
parent | 42eeea1d779dbda47e06936536b2ab7989ea4ea0 (diff) | |
download | mu-7f902016015e4a7a82d1650e52e7d6f227fcf0ee.tar.gz |
2885
-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 |