about summary refs log tree commit diff stats
path: root/101run_sandboxed.cc
diff options
context:
space:
mode:
Diffstat (limited to '101run_sandboxed.cc')
-rw-r--r--101run_sandboxed.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/101run_sandboxed.cc b/101run_sandboxed.cc
index 3564218a..3fcad59e 100644
--- a/101run_sandboxed.cc
+++ b/101run_sandboxed.cc
@@ -218,7 +218,7 @@ def main [
   1:text <- new [# ab
 add 2, 2]
   2:text <- run-sandboxed 1:text
-  3:array:character <- copy *2:text
+  3:array:char <- copy *2:text
 ]
 +mem: storing 52 in location 4
 
@@ -314,7 +314,7 @@ def main [
   # try to interactively add 2 and 2
   1:text <- new [add 2, 2]
   2:text <- run-sandboxed 1:text
-  10:array:character <- copy 2:text/lookup
+  10:array:char <- copy 2:text/lookup
 ]
 # first letter in the output should be '4' in unicode
 +mem: storing 52 in location 11
@@ -328,7 +328,7 @@ def main [
     z:text <- append x:text, y:text
   ]
   2:text <- run-sandboxed 1:text
-  10:array:character <- copy 2:text/lookup
+  10:array:char <- copy 2:text/lookup
 ]
 # output contains "ab"
 +mem: storing 97 in location 11
@@ -340,7 +340,7 @@ def main [
   1:text <- new [x:number <- copy 34
 get x:number, foo:offset]
   2:text, 3:text <- run-sandboxed 1:text
-  10:array:character <- copy 3:text/lookup
+  10:array:char <- copy 3:text/lookup
 ]
 # error should be "unknown element foo in container number"
 +mem: storing 117 in location 11