about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-04-10 18:48:46 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-04-10 18:48:46 -0700
commit4f939d9a38210ce28a8390969a5a64926f4f2fe7 (patch)
tree57cd37d9137a9f601026fbb7e9213340c478921b
parentab35b64fa2636a08aae271371c56f35f62c76c9d (diff)
downloadmu-4f939d9a38210ce28a8390969a5a64926f4f2fe7.tar.gz
2825
-rw-r--r--031container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/031container.cc b/031container.cc
index fa008404..27210c83 100644
--- a/031container.cc
+++ b/031container.cc
@@ -309,7 +309,7 @@ case GET_ADDRESS: {
   type_ordinal base_type = base.type->value;
   reagent offset = inst.ingredients.at(1);
   if (!is_literal(offset) || !is_mu_scalar(offset)) {
-    raise << maybe(get(Recipe, r).name) << "second ingredient of 'get' should have type 'offset', but got " << inst.ingredients.at(1).original_string << '\n' << end();
+    raise << maybe(get(Recipe, r).name) << "second ingredient of 'get-address' should have type 'offset', but got " << inst.ingredients.at(1).original_string << '\n' << end();
     break;
   }
   int offset_value = 0;
@@ -390,7 +390,7 @@ def main [
 +error: main: 'get-address 12:boolbool, 1:offset' should write to (address boolean) but 15 has type boolean
 
 :(scenario get_address_indirect)
-# 'get' can read from container address
+# 'get-address' can read from container address
 def main [
   1:number <- copy 2
   2:number <- copy 34