aboutsummaryrefslogtreecommitdiff
path: root/lux-php
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-php
parent9ae7272d50b64dc9c8651e7a684abc007d4f2caf (diff)
Normalized syntax of "exception:", "actor:" and "message:".
Diffstat (limited to 'lux-php')
-rw-r--r--lux-php/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 6c233ab4f..abdfde3a5 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -175,7 +175,7 @@
(type: Reader
(-> java/lang/Object (Try Any)))
-(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)]))
@@ -413,7 +413,7 @@
(exception.throw ..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
["Class" (java/lang/Object::toString (java/lang/Object::getClass object))]
["Non-function" (java/lang/Object::toString object)]))