about summary refs log tree commit diff stats
path: root/047check_type_by_name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
commit760f683f2755038a1b0c16522f5001b889096aa5 (patch)
treee07afd384d45be93d81fb4c1788b332fe05799a0 /047check_type_by_name.cc
parent80df524b566a708551f752ce8b82e21738591651 (diff)
downloadmu-760f683f2755038a1b0c16522f5001b889096aa5.tar.gz
3389
Diffstat (limited to '047check_type_by_name.cc')
-rw-r--r--047check_type_by_name.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/047check_type_by_name.cc b/047check_type_by_name.cc
index 5bc42880..44fc8ddb 100644
--- a/047check_type_by_name.cc
+++ b/047check_type_by_name.cc
@@ -101,10 +101,10 @@ def main [
 :(scenario typo_in_address_type_fails)
 % Hide_errors = true;
 def main [
-  y:address:charcter <- new character:type
+  y:&:charcter <- new character:type
   *y <- copy 67
 ]
-+error: main: unknown type charcter in 'y:address:charcter <- new character:type'
++error: main: unknown type charcter in 'y:&:charcter <- new character:type'
 
 :(scenario array_type_without_size_fails)
 % Hide_errors = true;
@@ -119,7 +119,7 @@ def foo [  # dummy
 ]
 def main [
   local-scope
-  0:address:array:location/names:foo <- copy 0  # specify surrounding space
+  0:&:array:location/names:foo <- copy 0  # specify surrounding space
   x:bool <- copy 1/true
   x:num/space:1 <- copy 34
   x/space:1 <- copy 35