about summary refs log tree commit diff stats
path: root/022arithmetic.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-17 19:53:52 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-17 19:53:52 -0700
commit377b00b045289a3fa8e88d4b2f129d797c687e2f (patch)
treec308460cba545ca702ab81dc32ab54324b17f9f2 /022arithmetic.cc
parentf5ee2463d00bdf1810c615555e91d993aa1032c3 (diff)
downloadmu-377b00b045289a3fa8e88d4b2f129d797c687e2f.tar.gz
4265
Standardize use of type ingredients some more.
Diffstat (limited to '022arithmetic.cc')
-rw-r--r--022arithmetic.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc
index 530541aa..79a314bb 100644
--- a/022arithmetic.cc
+++ b/022arithmetic.cc
@@ -64,9 +64,9 @@ def main [
 :(scenario add_checks_return_type)
 % Hide_errors = true;
 def main [
-  1:address:num <- add 2, 2
+  1:&:num <- add 2, 2
 ]
-+error: main: 'add' should yield a number, but got '1:address:num'
++error: main: 'add' should yield a number, but got '1:&:num'
 
 :(before "End Primitive Recipe Declarations")
 SUBTRACT,