about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-26 00:58:19 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-26 00:58:19 -0700
commit4ea0480806d123a0f97bd2b5a867fea603b63e87 (patch)
treeabcc116da0393bfc72f36397061c1e1b6b23feb5
parent419b071b06d834b5b00c1e3bbac43dad1a2b3bb3 (diff)
downloadmu-4ea0480806d123a0f97bd2b5a867fea603b63e87.tar.gz
2280
-rw-r--r--030container.cc6
-rw-r--r--032array.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/030container.cc b/030container.cc
index 5bbef105..2f678687 100644
--- a/030container.cc
+++ b/030container.cc
@@ -208,11 +208,11 @@ void dump_types(type_tree* type, ostringstream& out) {
     dump_types(type->left, out);
   else
     out << Type[type->value].name;
-  out << ":";
+  out << " : ";
   if (type->right)
     dump_types(type->right, out);
   else
-    out << ".<>";
+    out << " : <>";
   out << ">";
 }
 
@@ -362,7 +362,7 @@ recipe main [
   14:number <- copy 36
   15:number <- get-address 12:point-number/raw, 1:offset
 ]
-+error: main: 'get-address' 1:offset (1) on point-number can't be saved in 15:number; type should be <address:number>
++error: main: 'get-address' 1:offset (1) on point-number can't be saved in 15:number; type should be <address : number>
 
 //:: Allow containers to be defined in mu code.
 
diff --git a/032array.cc b/032array.cc
index 5cc34c1d..9a8a0115 100644
--- a/032array.cc
+++ b/032array.cc
@@ -360,7 +360,7 @@ recipe main [
   8:address:array:point <- copy 1/raw
   9:address:number <- index-address *8:address:array:point, 0
 ]
-+error: main: 'index' on *8:address:array:point can't be saved in 9:address:number; type should be <address:point>
++error: main: 'index' on *8:address:array:point can't be saved in 9:address:number; type should be <address : point>
 
 //:: compute the length of an array