aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/thread.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/control/thread.lux5
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/source/lux/control/thread.lux b/stdlib/source/lux/control/thread.lux
index b27e56395..7dfa4c490 100644
--- a/stdlib/source/lux/control/thread.lux
+++ b/stdlib/source/lux/control/thread.lux
@@ -40,7 +40,10 @@
(:coerce (primitive "java.lang.Long"))
"jvm object cast"
"jvm conversion long-to-int")
- (:representation box))}))))
+ (:representation box))
+
+ (~~ (static @.js))
+ ("js array read" 0 (:representation box))}))))
(def: #export (write value box)
(All [a] (-> a (All [!] (-> (Box ! a) (Thread ! Any)))))