aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/tool/compiler/phase/generation/js/case.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/tool/compiler/phase/generation/js/case.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/js/case.lux b/stdlib/source/lux/tool/compiler/phase/generation/js/case.lux
index 86c7197ec..f426dd6ff 100644
--- a/stdlib/source/lux/tool/compiler/phase/generation/js/case.lux
+++ b/stdlib/source/lux/tool/compiler/phase/generation/js/case.lux
@@ -46,7 +46,7 @@
(wrap (list@fold (function (_ [idx tail?] source)
(.let [method (.if tail?
//runtime.product//right
- //runtime.product//left)]
+ //runtime.tuple//left)]
(method source (_.i32 (.int idx)))))
valueO
pathP))))
@@ -168,7 +168,7 @@
(^template [<pm> <getter> <prep>]
(^ (<pm> idx))
(////@wrap (|> idx <prep> .int _.i32 (<getter> ..peek-cursor) push-cursor!)))
- ([/////synthesis.member/left //runtime.product//left (<|)]
+ ([/////synthesis.member/left //runtime.tuple//left (<|)]
[/////synthesis.member/right //runtime.product//right inc])
(^ (/////synthesis.!bind-top register thenP))