aboutsummaryrefslogtreecommitdiff
path: root/lux-php/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-07-06 16:25:43 -0400
committerEduardo Julian2022-07-06 16:25:43 -0400
commit5270f301eba5237feebc8eca14aee6b7a992a819 (patch)
treea1adb545189f4db807d712a1fcc7d20048c11222 /lux-php/source/program.lux
parent0c32c7f03ad1f8f0db54b623dc407713bbf8cacd (diff)
Made exception.report a function.
Diffstat (limited to 'lux-php/source/program.lux')
-rw-r--r--lux-php/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index dffe1e4c7..dbaded2ce 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -182,8 +182,8 @@
(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)))
+ (list ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))]
+ ["Object" (java/lang/Object::toString object)])))
(def (value_wrapper lux_structure value)
(-> (-> (Array java/lang/Object) php/runtime/Memory) java/lang/Object php/runtime/Memory)
@@ -417,8 +417,8 @@
(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)))
+ (list ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))]
+ ["Non-function" (java/lang/Object::toString object)])))
(ffi.import javax/script/ScriptEngine
"[1]::[0]"