about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-23 23:10:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-23 23:10:49 -0700
commit2225b945ad5ba9310081b371bf32a9f575646e1b (patch)
tree47cf88d4c0f56ae38501fd9ca383ef3c9587688f
parent61880904a2f1446f331ac48ad56b3e7c006d0d55 (diff)
downloadmu-2225b945ad5ba9310081b371bf32a9f575646e1b.tar.gz
3577
-rw-r--r--056shape_shifting_recipe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/056shape_shifting_recipe.cc b/056shape_shifting_recipe.cc
index 4431f9c8..5a9aba49 100644
--- a/056shape_shifting_recipe.cc
+++ b/056shape_shifting_recipe.cc
@@ -322,6 +322,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) {
+    // probably a bug in mu
     // todo: make this smarter; only flag an error if exemplar_type contains some *new* type ingredient
     raise << maybe(exemplar.name) << "missing type ingredient for " << exemplar_reagent.original_string << '\n' << end();
     raise << "  (called from '" << to_original_string(call_instruction) << "')\n" << end();