/html/

raise << maybe(caller.name) << "instruction '" << inst.name << "' has no recipe in '" << to_original_string(inst) << "'\n" << end(); continue; } inst.operation = get(Recipe_ordinal, inst.name); // End Instruction Operation Checks } } // hook to suppress inserting recipe name into errors string maybe(string recipe_name) { // End maybe(recipe_name) Special-cases return recipe_name + ": "; } void test_missing_arrow() { Hide_errors = true; transform( "def main [\n" " 1:number , copy 0\n" // typo: ',' instead of '<-' "]\n" ); CHECK_TRACE_CONTENTS( "error: main: instruction '1:number' has no recipe in '1:number copy, 0'\n" ); }