aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/php/reference.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/php/reference.jvm.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux b/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux
index 9146684e4..4364d87ea 100644
--- a/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/php/reference.jvm.lux
@@ -12,7 +12,7 @@
(do-template [<register> <prefix>]
[(def: #export <register>
(-> Register Var)
- (|>> (:! Int) %i (format <prefix>) _.var))]
+ (|>> (:coerce Int) %i (format <prefix>) _.var))]
[closure "c"]
[variable "v"])
@@ -21,7 +21,7 @@
(-> Variable Var)
(if (variableL.captured? var)
(closure (variableL.captured-register var))
- (variable (:! Nat var))))
+ (variable (:coerce Nat var))))
(def: #export global
(-> Ident Var)