diff options
author | Eduardo Julian | 2022-07-06 16:25:43 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-07-06 16:25:43 -0400 |
commit | 5270f301eba5237feebc8eca14aee6b7a992a819 (patch) | |
tree | a1adb545189f4db807d712a1fcc7d20048c11222 /lux-python | |
parent | 0c32c7f03ad1f8f0db54b623dc407713bbf8cacd (diff) |
Made exception.report a function.
Diffstat (limited to 'lux-python')
-rw-r--r-- | lux-python/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index a501a73f9..208a3550a 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -168,7 +168,7 @@ (exception (unknown_kind_of_object [object java/lang/Object]) (exception.report - "Object" (ffi.of_string (java/lang/Object::toString object)))) + (list ["Object" (ffi.of_string (java/lang/Object::toString object))]))) (def (read_variant read host_object) (-> Translator Translator) @@ -375,8 +375,8 @@ (exception (cannot_apply_a_non_function [object java/lang/Object]) (exception.report - "Object" (ffi.of_string (java/lang/Object::toString object)) - "Class" (ffi.of_string (java/lang/Class::getName (java/lang/Object::getClass object))))) + (list ["Object" (ffi.of_string (java/lang/Object::toString object))] + ["Class" (ffi.of_string (java/lang/Class::getName (java/lang/Object::getClass object)))]))) (def (expander macro inputs lux) Expander |