about summary refs log tree commit diff stats
path: root/filesystem.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 00:31:55 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 00:31:55 -0700
commit08f4628e8b858120fe3547d8e5431d9abfe46bf8 (patch)
tree4d9f1bc0039baefa0e84d9cb3ea6634f4337d342 /filesystem.mu
parent58a9f7c34e21541f2db90b7fb66f4e92f04780ef (diff)
downloadmu-08f4628e8b858120fe3547d8e5431d9abfe46bf8.tar.gz
3379
Can't use type abbreviations inside 'memory-should-contain'.
Diffstat (limited to 'filesystem.mu')
-rw-r--r--filesystem.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/filesystem.mu b/filesystem.mu
index c6374b90..e3e481b9 100644
--- a/filesystem.mu
+++ b/filesystem.mu
@@ -5,10 +5,10 @@
 
 def main [
   local-scope
-  source-file:address:source:character <- start-reading 0/real-filesystem, [/tmp/mu-x]
-  sink-file:address:sink:character, write-routine:number <- start-writing 0/real-filesystem, [/tmp/mu-y]
+  source-file:address:source:char <- start-reading 0/real-filesystem, [/tmp/mu-x]
+  sink-file:address:sink:char, write-routine:number <- start-writing 0/real-filesystem, [/tmp/mu-y]
   {
-    c:character, done?:boolean, source-file <- read source-file
+    c:char, done?:boolean, source-file <- read source-file
     break-if done?
     sink-file <- write sink-file, c
     loop