aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/macro.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/macro.lux')
-rw-r--r--new-luxc/source/luxc/lang/macro.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/lang/macro.lux b/new-luxc/source/luxc/lang/macro.lux
index 043f0df93..4e22047b2 100644
--- a/new-luxc/source/luxc/lang/macro.lux
+++ b/new-luxc/source/luxc/lang/macro.lux
@@ -25,11 +25,11 @@
(function (_ compiler)
(do e.Monad<Error>
[apply-method (Class::getMethod ["apply" _apply-args] class)
- output (Method::invoke [(:! Object macro)
+ output (Method::invoke [(:coerce Object macro)
(|> (host.array Object +2)
- (host.array-write +0 (:! Object inputs))
- (host.array-write +1 (:! Object compiler)))]
+ (host.array-write +0 (:coerce Object inputs))
+ (host.array-write +1 (:coerce Object compiler)))]
apply-method)]
- (:! (e.Error [Lux (List Code)])
- output))))))
+ (:coerce (e.Error [Lux (List Code)])
+ output))))))
})