From 697d1d121390483881e85f6508e5f2899cf3f137 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 25 Jun 2018 14:13:19 -0700 Subject: 4275 Fix CI. --- 046check_type_by_name.cc | 1 + 056shape_shifting_recipe.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/046check_type_by_name.cc b/046check_type_by_name.cc index b960799a..ba40f521 100644 --- a/046check_type_by_name.cc +++ b/046check_type_by_name.cc @@ -87,6 +87,7 @@ void check_type(set& known_types, const reagent& x, const reci } if (!types_strictly_match(known_types.find(x)->type, x.type)) { raise << maybe(caller.name) << "'" << x.name << "' used with multiple types\n" << end(); + raise << " " << to_string(known_types.find(x)->type) << " vs " << to_string(x.type) << '\n' << end(); return; } if (is_mu_array(x)) { diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc index 68ae1e0a..3a2c3a93 100644 --- a/056shape_shifting_recipe.cc +++ b/056shape_shifting_recipe.cc @@ -248,6 +248,7 @@ string insert_new_variant(recipe_ordinal exemplar, const instruction& inst, cons put(Recipe, new_recipe_ordinal, /*copy*/get(Recipe, exemplar)); recipe& new_recipe = get(Recipe, new_recipe_ordinal); new_recipe.name = new_name; + new_recipe.ordinal = new_recipe_ordinal; new_recipe.is_autogenerated = true; trace(9993, "transform") << "switching " << inst.name << " to specialized " << header_label(new_recipe) << end(); -- cgit 1.4.1-2-gfad0