aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/macro/syntax/common/reader.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/macro/syntax/common/reader.lux')
-rw-r--r--stdlib/source/lux/macro/syntax/common/reader.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/macro/syntax/common/reader.lux b/stdlib/source/lux/macro/syntax/common/reader.lux
index 5e2d3b0bc..989d2a0e2 100644
--- a/stdlib/source/lux/macro/syntax/common/reader.lux
+++ b/stdlib/source/lux/macro/syntax/common/reader.lux
@@ -128,7 +128,7 @@
{#.doc "A reader for definitions that ensures the input syntax is typed."}
(-> Lux (Parser //.Definition))
(do p.monad
- [_definition (definition compiler)
+ [_definition (..definition compiler)
_ (case (get@ #//.definition-type _definition)
(#.Some _)
(wrap [])
@@ -145,4 +145,4 @@
(def: #export type-variables
{#.doc "Reader for the common type var/param used by many macros."}
(Parser (List Text))
- (s.tuple (p.some s.local-identifier)))
+ (p.some s.local-identifier))