about summary refs log tree commit diff stats
path: root/022arithmetic.cc
diff options
context:
space:
mode:
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,