aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/macro/local.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/meta/macro/local.lux')
-rw-r--r--stdlib/source/library/lux/meta/macro/local.lux9
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/meta/macro/local.lux b/stdlib/source/library/lux/meta/macro/local.lux
index c69b32f95..48ca7db43 100644
--- a/stdlib/source/library/lux/meta/macro/local.lux
+++ b/stdlib/source/library/lux/meta/macro/local.lux
@@ -6,7 +6,7 @@
[control
["<>" parser]
["[0]" try (.only Try)]
- ["[0]" exception (.only exception)]]
+ ["[0]" exception (.only Exception)]]
[data
["[0]" product]
["[0]" text]
@@ -19,13 +19,14 @@
["[0]" // (.only)
[syntax (.only syntax)]])
-(exception .public (unknown_module [module Text])
+(exception.def .public (unknown_module module)
+ (Exception Text)
(exception.report
(list ["Module" (text.format module)])))
(with_template [<name>]
- [(exception .public (<name> [module Text
- definition Text])
+ [(exception.def .public (<name> [module definition])
+ (Exception [Text Text])
(exception.report
(list ["Module" (text.format module)]
["Definition" (text.format definition)])))]