aboutsummaryrefslogtreecommitdiff
path: root/src/lux/analyser.clj
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lux/analyser.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lux/analyser.clj b/src/lux/analyser.clj
index de75b9f26..0b9839968 100644
--- a/src/lux/analyser.clj
+++ b/src/lux/analyser.clj
@@ -194,7 +194,7 @@
(exec [macro? (macro? ?module ?name)]
(if macro?
(let [macro-class (&host/location (list ?name ?module))
- [macro-expansion state*] (&macro/expand loader macro-class)]
+ [macro-expansion state*] (&macro/expand loader macro-class ?args)]
(mapcat-m analyse-ast macro-expansion))
(exec [=args (mapcat-m analyse-ast ?args)
:let [[needs-num =return-type] (match =fn-type