aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/macro.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/macro.lux')
-rw-r--r--stdlib/source/lux/macro.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/macro.lux b/stdlib/source/lux/macro.lux
index 93920c67b..77902ba1a 100644
--- a/stdlib/source/lux/macro.lux
+++ b/stdlib/source/lux/macro.lux
@@ -431,13 +431,13 @@
(or (any? test (:! (List [Text (Meta [Type Cursor] Void)])
(get@ [#;locals #;mappings] env)))
(any? test (:! (List [Text (Meta [Type Cursor] Void)])
- (get@ [#;closure #;mappings] env)))))
+ (get@ [#;captured #;mappings] env)))))
(get@ #;scopes state))
[_ [[type _] _]] (try-both (find test)
(:! (List [Text (Meta [Type Cursor] Void)])
(get@ [#;locals #;mappings] scope))
(:! (List [Text (Meta [Type Cursor] Void)])
- (get@ [#;closure #;mappings] scope)))]
+ (get@ [#;captured #;mappings] scope)))]
(wrap type))
(#;Some var-type)
(#;Right [state var-type])