From 6d6b656fa939e6af886f14d37736f3215a8694fc Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 14 Apr 2015 10:34:00 -0700 Subject: 1060 --- cpp/026new | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/026new') diff --git a/cpp/026new b/cpp/026new index 2bef48e7..9c9bbc04 100644 --- a/cpp/026new +++ b/cpp/026new @@ -30,7 +30,7 @@ if (inst.operation == Recipe_number["new"]) { //? cout << inst.ingredients[0].to_string() << '\n'; //? 1 assert(isa_literal(inst.ingredients[0])); if (inst.ingredients[0].properties[0].second[0] == "type") { - inst.ingredients[0].value = Type_number[inst.ingredients[0].name]; + inst.ingredients[0].set_value(Type_number[inst.ingredients[0].name]); } trace("new") << inst.ingredients[0].name << " -> " << inst.ingredients[0].value; } -- cgit 1.4.1-2-gfad0