From 2b25071710656d7a755c2f66c99734cd7990d1ba Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 May 2017 16:43:18 -0700 Subject: 3877 --- html/053recipe_header.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/053recipe_header.cc.html') diff --git a/html/053recipe_header.cc.html b/html/053recipe_header.cc.html index 641c91b9..e9810da7 100644 --- a/html/053recipe_header.cc.html +++ b/html/053recipe_header.cc.html @@ -363,7 +363,7 @@ if ('onhashchange' in window) { 297 ¦ for (long int i = 0; i < min(SIZE(inst.ingredients), SIZE(callee.ingredients)); ++i) { 298 ¦ ¦ // ingredients coerced from call to callee 299 ¦ ¦ if (!types_coercible(callee.ingredients.at(i), inst.ingredients.at(i))) { -300 ¦ ¦ ¦ raise << maybe(caller.name) << "ingredient " << i << " has the wrong type at '" << inst.original_string << "'\n" << end(); +300 ¦ ¦ ¦ raise << maybe(caller.name) << "ingredient " << i << " has the wrong type at '" << to_original_string(inst) << "'\n" << end(); 301 ¦ ¦ ¦ raise << " ['" << to_string(callee.ingredients.at(i).type) << "' vs '" << to_string(inst.ingredients.at(i).type) << "']\n" << end(); 302 ¦ ¦ } 303 ¦ } @@ -371,7 +371,7 @@ if ('onhashchange' in window) { 305 ¦ ¦ if (is_dummy(inst.products.at(i))) continue; 306 ¦ ¦ // products coerced from callee to call 307 ¦ ¦ if (!types_coercible(inst.products.at(i), callee.products.at(i))) { -308 ¦ ¦ ¦ raise << maybe(caller.name) << "product " << i << " has the wrong type at '" << inst.original_string << "'\n" << end(); +308 ¦ ¦ ¦ raise << maybe(caller.name) << "product " << i << " has the wrong type at '" << to_original_string(inst) << "'\n" << end(); 309 ¦ ¦ ¦ raise << " ['" << to_string(inst.products.at(i).type) << "' vs '" << to_string(callee.products.at(i).type) << "']\n" << end(); 310 ¦ ¦ } 311 ¦ } @@ -403,12 +403,12 @@ if ('onhashchange' in window) { 337 ¦ const instruction& inst = caller_recipe.steps.at(i); 338 ¦ if (inst.name != "reply" && inst.name != "return") continue; 339 ¦ if (SIZE(caller_recipe.products) != SIZE(inst.ingredients)) { -340 ¦ ¦ raise << maybe(caller_recipe.name) << "replied with the wrong number of products at '" << inst.original_string << "'\n" << end(); +340 ¦ ¦ raise << maybe(caller_recipe.name) << "replied with the wrong number of products at '" << to_original_string(inst) << "'\n" << end(); 341 ¦ ¦ continue; 342 ¦ } 343 ¦ for (int i = 0; i < SIZE(caller_recipe.products); ++i) { 344 ¦ ¦ if (!types_match(caller_recipe.products.at(i), inst.ingredients.at(i))) -345 ¦ ¦ ¦ raise << maybe(caller_recipe.name) << "replied with the wrong type at '" << inst.original_string << "'\n" << end(); +345 ¦ ¦ ¦ raise << maybe(caller_recipe.name) << "replied with the wrong type at '" << to_original_string(inst) << "'\n" << end(); 346 ¦ } 347 } 348 } -- cgit 1.4.1-2-gfad0