summaryrefslogtreecommitdiff
path: root/lib/thread/spawn+plan9.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
commit7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9 (patch)
treec9434a55ea6850aee7103f608c6333cfe3148d60 /lib/thread/spawn+plan9.myr
parentc96238b89583ed91e92ad909c507797d00015e95 (diff)
downloadmc-7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9.tar.gz
New syntax for casts.
Diffstat (limited to 'lib/thread/spawn+plan9.myr')
-rw-r--r--lib/thread/spawn+plan9.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread/spawn+plan9.myr b/lib/thread/spawn+plan9.myr
index 4397851..2c6e856 100644
--- a/lib/thread/spawn+plan9.myr
+++ b/lib/thread/spawn+plan9.myr
@@ -13,6 +13,6 @@ const spawn = {fn
fn()
std.exit(0)
| -1: -> `std.Fail "unable to spawn thread"
- | thr: -> `std.Ok thr castto(tid)
+ | thr: -> `std.Ok (thr : tid)
;;
-} \ No newline at end of file
+}