diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-25 08:24:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-25 08:24:14 -0800 |
commit | 05331766a971ecd1c3df236af0b374ae039b1142 (patch) | |
tree | c9cbc809046feaa86762c43edc77f1067f44c8e8 /059shape_shifting_recipe.cc | |
parent | 5ed9bb135efb7e581eeb879b8af357d3b9baf6ea (diff) | |
download | mu-05331766a971ecd1c3df236af0b374ae039b1142.tar.gz |
2703
Diffstat (limited to '059shape_shifting_recipe.cc')
-rw-r--r-- | 059shape_shifting_recipe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc index 55f5f2b8..dbaa8503 100644 --- a/059shape_shifting_recipe.cc +++ b/059shape_shifting_recipe.cc @@ -329,7 +329,7 @@ void accumulate_type_ingredients(const reagent& exemplar_reagent, reagent& refin void accumulate_type_ingredients(const type_tree* exemplar_type, const type_tree* refinement_type, map<string, const type_tree*>& mappings, const recipe& exemplar, const reagent& exemplar_reagent, const instruction& call_instruction, const recipe& caller_recipe, bool* error) { if (!exemplar_type) return; if (!refinement_type) { - // todo: make this smarter; only warn if exemplar_type contains some *new* type ingredient + // todo: make this smarter; only flag an error if exemplar_type contains some *new* type ingredient raise_error << maybe(exemplar.name) << "missing type ingredient in " << exemplar_reagent.original_string << '\n' << end(); return; } |