diff options
author | Eduardo Julian | 2021-09-08 18:57:27 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-08 18:57:27 -0400 |
commit | 880cb37c261df20b7b8d968a909557bbc63d6b7f (patch) | |
tree | eb94b5572f3b03b855927c67e171b73ceb4db6c4 /lux-js | |
parent | 9ae7272d50b64dc9c8651e7a684abc007d4f2caf (diff) |
Normalized syntax of "exception:", "actor:" and "message:".
Diffstat (limited to '')
-rw-r--r-- | lux-js/source/program.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux index b0de7dee3..fde4d1e96 100644 --- a/lux-js/source/program.lux +++ b/lux-js/source/program.lux @@ -67,7 +67,7 @@ ["[1][0]" cli] ["[1][0]" static]]]) -(exception: (null_has_no_lux_representation {code (Maybe _.Expression)}) +(exception: (null_has_no_lux_representation [code (Maybe _.Expression)]) (case code (#.Some code) (_.code code) @@ -146,8 +146,8 @@ [StructureValue] ) - (exception: (unknown_member {member Text} - {object java/lang/Object}) + (exception: (unknown_member [member Text + object java/lang/Object]) (exception.report ["Member" member] ["Object" (debug.inspection object)])) @@ -270,7 +270,7 @@ (exception: undefined_has_no_lux_representation) - (exception: (unknown_kind_of_host_object {object java/lang/Object}) + (exception: (unknown_kind_of_host_object [object java/lang/Object]) (exception.report ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))] ["Object" (java/lang/Object::toString object)] @@ -432,7 +432,7 @@ (array.write! 1 (to_js lux))) macro)))) - (exception: (cannot_apply_a_non_function {object java/lang/Object}) + (exception: (cannot_apply_a_non_function [object java/lang/Object]) (exception.report ["Object" (java/lang/Object::toString object)])) |