about summary refs log tree commit diff stats
path: root/043new.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-24 01:03:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-24 01:03:55 -0700
commit7a8db77002a2ab90c923dffac18128defe47c177 (patch)
treefbc47f85834dfa31809bdc63e12c90635ac5c127 /043new.cc
parent0b1d1b202667f69de44fe989b3838c06a4a42619 (diff)
downloadmu-7a8db77002a2ab90c923dffac18128defe47c177.tar.gz
1832
Diffstat (limited to '043new.cc')
-rw-r--r--043new.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/043new.cc b/043new.cc
index 39c3aff4..672b4bb1 100644
--- a/043new.cc
+++ b/043new.cc
@@ -36,7 +36,7 @@ if (inst.operation == Recipe_ordinal["new"]) {
   // first arg must be of type 'type'
   assert(SIZE(inst.ingredients) >= 1);
   if (!is_literal(inst.ingredients.at(0)))
-    raise << "expected literal, got " << inst.ingredients.at(0).to_string() << '\n' << die();
+    raise << "expected literal, got " << inst.ingredients.at(0).original_string << '\n' << die();
   if (inst.ingredients.at(0).properties.at(0).second.at(0) != "type")
     raise << "tried to allocate non-type " << inst.ingredients.at(0).to_string() << " in recipe " << Recipe[r].name << '\n' << die();
   if (Type_ordinal.find(inst.ingredients.at(0).name) == Type_ordinal.end())