diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-03-20 12:55:36 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-03-20 12:55:36 -0700 |
commit | 09125ea2169f2820c2174696ccf7cef00452c60e (patch) | |
tree | 4400ad73a1e37e50107b26c667e85c1c0c309868 /053recipe_header.cc | |
parent | 227c11e297779af9c901d49ef57ac34c545ad44d (diff) | |
download | mu-09125ea2169f2820c2174696ccf7cef00452c60e.tar.gz |
3802 - more accurate sandbox results
Thanks Lakshman Swaminathan for reporting this issue.
Diffstat (limited to '053recipe_header.cc')
-rw-r--r-- | 053recipe_header.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc index 1f70d934..0f9aa4fc 100644 --- a/053recipe_header.cc +++ b/053recipe_header.cc @@ -487,8 +487,8 @@ Transform.push_back(fill_in_return_ingredients); // idempotent :(code) void fill_in_return_ingredients(const recipe_ordinal r) { recipe& caller_recipe = get(Recipe, r); - if (!caller_recipe.has_header) return; trace(9991, "transform") << "--- fill in return ingredients from header for recipe " << caller_recipe.name << end(); + if (!caller_recipe.has_header) return; for (int i = 0; i < SIZE(caller_recipe.steps); ++i) { instruction& inst = caller_recipe.steps.at(i); if (inst.name == "reply" || inst.name == "return") @@ -613,6 +613,7 @@ Transform.push_back(check_recipe_header_constraints); void check_recipe_header_constraints(const recipe_ordinal r) { const recipe& caller = get(Recipe, r); if (caller.name != "main") return; + trace(9992, "transform") << "check recipe header constraints for recipe " << caller.name << end(); if (!caller.has_header) return; reagent/*local*/ expected_ingredient("x:address:array:character"); for (int i = 0; i < SIZE(caller.ingredients); ++i) { |