diff options
Diffstat (limited to 'cpp/026new')
-rw-r--r-- | cpp/026new | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |