diff options
author | Eduardo Julian | 2022-03-15 22:45:49 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-03-15 22:45:49 -0400 |
commit | b0093a3849baaeb5e12692b2cf6ac65ba74bbd54 (patch) | |
tree | 26db4a468c2f75c64ba16e8b7dbf20f135d369fc /lux-python/source | |
parent | bc36487224f670c23002cc4575c0dba3e5dc1be1 (diff) |
Leaner syntax for library/lux/control/exception.report
Diffstat (limited to 'lux-python/source')
-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 5404b13d4..0e72141bf 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))])) + "Object" (ffi.of_string (java/lang/Object::toString object)))) (def: (read_variant read host_object) (-> Translator Translator) @@ -372,8 +372,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)))])) + "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 |