aboutsummaryrefslogtreecommitdiff
path: root/lux-lua
diff options
context:
space:
mode:
authorEduardo Julian2021-09-08 18:57:27 -0400
committerEduardo Julian2021-09-08 18:57:27 -0400
commit880cb37c261df20b7b8d968a909557bbc63d6b7f (patch)
treeeb94b5572f3b03b855927c67e171b73ceb4db6c4 /lux-lua
parent9ae7272d50b64dc9c8651e7a684abc007d4f2caf (diff)
Normalized syntax of "exception:", "actor:" and "message:".
Diffstat (limited to 'lux-lua')
-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 cc422bb5a..a16198b06 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -149,7 +149,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" (java/lang/Object::toString (java/lang/Object::getClass object))]
["Object" (java/lang/Object::toString object)]))
@@ -297,7 +297,7 @@
(exception.except ..unknown_kind_of_object [host_object])
)))
- (exception: (cannot_apply_a_non_function {object java/lang/Object})
+ (exception: (cannot_apply_a_non_function [object java/lang/Object])
(exception.report
["Non-function" (java/lang/Object::toString object)]))
@@ -627,8 +627,8 @@
[_ (run! content)]
(run! (_.return (_.var (reference.artifact context))))))))))))}))
-(with_expansions [<jvm> (as_is (exception: .public (invaid_phase_application {partial_application (List Any)}
- {arity Nat})
+(with_expansions [<jvm> (as_is (exception: .public (invaid_phase_application [partial_application (List Any)
+ arity Nat])
(exception.report
["Partial Application" (%.nat (list.size partial_application))]
["Arity" (%.nat arity)]))