From fd35cc3f267d180cd843d202237a74ff3b68a0e1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 22 Aug 2015 22:11:51 -0700 Subject: 2060 - even more efficient up/down --- 030container.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '030container.cc') diff --git a/030container.cc b/030container.cc index 808b64fe..5a4803f8 100644 --- a/030container.cc +++ b/030container.cc @@ -135,7 +135,7 @@ case GET: { break; } if (base.types.empty() || Type[base.types.at(0)].kind != container) { - raise << current_recipe_name () << ": first ingredient of 'get' should be a container, but got " << base.original_string << '\n' << end(); + raise << current_recipe_name () << ": first ingredient of 'get' should be a container, but got " << current_instruction().ingredients.at(0).original_string << '\n' << end(); break; } type_ordinal base_type = base.types.at(0); @@ -215,7 +215,7 @@ case GET_ADDRESS: { break; } if (base.types.empty() || Type[base.types.at(0)].kind != container) { - raise << current_recipe_name () << ": first ingredient of 'get-address' should be a container, but got " << base.original_string << '\n' << end(); + raise << current_recipe_name () << ": first ingredient of 'get-address' should be a container, but got " << current_instruction().ingredients.at(0).original_string << '\n' << end(); break; } type_ordinal base_type = base.types.at(0); -- cgit 1.4.1-2-gfad0