From 09125ea2169f2820c2174696ccf7cef00452c60e Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 20 Mar 2017 12:55:36 -0700 Subject: 3802 - more accurate sandbox results Thanks Lakshman Swaminathan for reporting this issue. --- 053recipe_header.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '053recipe_header.cc') 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) { -- cgit 1.4.1-2-gfad0