aboutsummaryrefslogtreecommitdiff
path: root/lux-lua/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-lua/source')
-rw-r--r--lux-lua/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux
index 402287d22..f904a2416 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -9,7 +9,7 @@
[control
["[0]" maybe]
["[0]" try (.only Try)]
- ["[0]" exception (.only exception:)]
+ ["[0]" exception (.only exception)]
["[0]" io (.only IO io)]
["[0]" function]
[concurrency
@@ -167,7 +167,7 @@
(schedulingContextFactory [] net/sandius/rembulan/runtime/SchedulingContextFactory)
(call [net/sandius/rembulan/StateContext java/lang/Object [java/lang/Object]] "try" [java/lang/Object]))
- (exception: (unknown_kind_of_object [object java/lang/Object])
+ (exception (unknown_kind_of_object [object java/lang/Object])
(exception.report
"Class" (ffi.of_string (java/lang/Object::toString (java/lang/Object::getClass object)))
"Object" (ffi.of_string (java/lang/Object::toString object))))
@@ -224,7 +224,7 @@
{try.#Failure error}))
{try.#Success output}))))
- (exception: .public nil_has_no_lux_representation)
+ (exception .public nil_has_no_lux_representation)
(def (read host_object)
Translator
@@ -445,7 +445,7 @@
(panic! (exception.error ..unknown_kind_of_object [(as java/lang/Object field)])))))
)))
- (exception: (cannot_apply_a_non_function [object java/lang/Object])
+ (exception (cannot_apply_a_non_function [object java/lang/Object])
(exception.report
"Non-function" (ffi.of_string (java/lang/Object::toString object))))