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-scheme | |
parent | bc36487224f670c23002cc4575c0dba3e5dc1be1 (diff) |
Leaner syntax for library/lux/control/exception.report
Diffstat (limited to 'lux-scheme')
-rw-r--r-- | lux-scheme/source/program.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-scheme/source/program.lux b/lux-scheme/source/program.lux index 99dda6b55..50d4e2220 100644 --- a/lux-scheme/source/program.lux +++ b/lux-scheme/source/program.lux @@ -238,13 +238,13 @@ (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)])) + "Class" (java/lang/Object::toString (java/lang/Object::getClass object)) + "Object" (java/lang/Object::toString object))) (exception: (cannot_apply_a_non_function [object java/lang/Object]) (exception.report - ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))] - ["Object" (java/lang/Object::toString object)])) + "Class" (java/lang/Object::toString (java/lang/Object::getClass object)) + "Object" (java/lang/Object::toString object))) (def: (lux_value value) (-> java/lang/Object java/lang/Object) |