diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-14 10:34:00 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-14 10:39:18 -0700 |
commit | 6d6b656fa939e6af886f14d37736f3215a8694fc (patch) | |
tree | 8032e502fca318c28d59f292df17a56d0b5d7fee /cpp/026new | |
parent | 39171d57b4f67c8f6d761585e12a4f1cd69241c4 (diff) | |
download | mu-6d6b656fa939e6af886f14d37736f3215a8694fc.tar.gz |
1060
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; } |