aboutsummaryrefslogtreecommitdiff
path: root/lux-cl/source/program.lux
diff options
context:
space:
mode:
Diffstat (limited to 'lux-cl/source/program.lux')
-rw-r--r--lux-cl/source/program.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/lux-cl/source/program.lux b/lux-cl/source/program.lux
index ff6aff2e5..033141d55 100644
--- a/lux-cl/source/program.lux
+++ b/lux-cl/source/program.lux
@@ -9,7 +9,7 @@
["[0]" pipe]
["[0]" maybe]
["[0]" try (.only Try)]
- ["[0]" exception (.only exception)]
+ ["[0]" exception (.only Exception)]
["[0]" io (.only IO io)]
[concurrency
["[0]" promise (.only Promise)]]]
@@ -153,7 +153,8 @@
(getValue [] java/lang/Object))
(with_template [<name>]
- [(exception (<name> [object java/lang/Object])
+ [(exception.def (<name> object)
+ (Exception java/lang/Object)
(exception.report
(list ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))]
["Object" (java/lang/Object::toString object)])))]