diff options
Diffstat (limited to '057shape_shifting_container.cc')
-rw-r--r-- | 057shape_shifting_container.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/057shape_shifting_container.cc b/057shape_shifting_container.cc index acb3c7cb..40ec3521 100644 --- a/057shape_shifting_container.cc +++ b/057shape_shifting_container.cc @@ -190,9 +190,9 @@ def main [ :(before "End element_type Special-cases") if (contains_type_ingredient(element)) { - if (!canonized_base.type->right) - raise << "illegal type " << names_to_string(canonized_base.type) << " seems to be missing a type ingredient or three\n" << end(); - replace_type_ingredients(element.type, canonized_base.type->right, info); + if (!base.type->right) + raise << "illegal type " << names_to_string(base.type) << " seems to be missing a type ingredient or three\n" << end(); + replace_type_ingredients(element.type, base.type->right, info); } :(code) @@ -541,7 +541,7 @@ def main [ :(before "End variant_type Special-cases") if (contains_type_ingredient(element)) { - if (!canonized_base.type->right) - raise << "illegal type '" << to_string(canonized_base.type) << "' seems to be missing a type ingredient or three\n" << end(); - replace_type_ingredients(element.type, canonized_base.type->right, info); + if (!base.type->right) + raise << "illegal type '" << to_string(base.type) << "' seems to be missing a type ingredient or three\n" << end(); + replace_type_ingredients(element.type, base.type->right, info); } |