about summary refs log tree commit diff stats
path: root/channel.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 00:43:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 00:43:20 -0700
commit192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403 (patch)
tree56ade9284cbd296ade90601a3a047c5cbdf3428c /channel.mu
parent08f4628e8b858120fe3547d8e5431d9abfe46bf8 (diff)
downloadmu-192d59d3bb9ee0baa1afd82cb5d0f352bdc6e403.tar.gz
3380
One more place we were missing expanding type abbreviations: inside
container definitions.
Diffstat (limited to 'channel.mu')
-rw-r--r--channel.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.mu b/channel.mu
index b9054b56..067eec37 100644
--- a/channel.mu
+++ b/channel.mu
@@ -38,8 +38,8 @@ def main [
   local-scope
   source:address:source:char, sink:address:sink:char <- new-channel 3/capacity
   # create two background 'routines' that communicate by a channel
-  routine1:number <- start-running producer, sink
-  routine2:number <- start-running consumer, source
+  routine1:num <- start-running producer, sink
+  routine2:num <- start-running consumer, source
   wait-for-routine routine1
   wait-for-routine routine2
 ]