aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/php/case.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/php/case.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/php/case.jvm.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php/case.jvm.lux b/new-luxc/source/luxc/lang/translation/php/case.jvm.lux
index 0cfd66729..3a5eff053 100644
--- a/new-luxc/source/luxc/lang/translation/php/case.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/php/case.jvm.lux
@@ -185,7 +185,7 @@
(let [outer recur]
(case pathP
(^code ("lux case bind" (~ [_ (#.Nat register)])))
- (update@ #bindings (set.add (nat-to-int register))
+ (update@ #bindings (set.add (.int register))
outer-variables)
(^or (^code ("lux case seq" (~ leftP) (~ rightP)))
@@ -218,7 +218,7 @@
(list/fold inner inner-variables))
(^code ("lux let" (~ [_ (#.Nat register)]) (~ inputS) (~ exprS)))
- (list/fold inner (update@ #bindings (set.add (nat-to-int register))
+ (list/fold inner (update@ #bindings (set.add (.int register))
inner-variables)
(list inputS exprS))