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-lua/source | |
parent | bc36487224f670c23002cc4575c0dba3e5dc1be1 (diff) |
Leaner syntax for library/lux/control/exception.report
Diffstat (limited to 'lux-lua/source')
-rw-r--r-- | lux-lua/source/program.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux index ac9e9d310..74def59a7 100644 --- a/lux-lua/source/program.lux +++ b/lux-lua/source/program.lux @@ -169,8 +169,8 @@ (exception: (unknown_kind_of_object [object java/lang/Object]) (exception.report - ["Class" (ffi.of_string (java/lang/Object::toString (java/lang/Object::getClass object)))] - ["Object" (ffi.of_string (java/lang/Object::toString object))])) + "Class" (ffi.of_string (java/lang/Object::toString (java/lang/Object::getClass object))) + "Object" (ffi.of_string (java/lang/Object::toString object)))) (ffi.interface: LuxValue (getValue [] java/lang/Object)) @@ -447,7 +447,7 @@ (exception: (cannot_apply_a_non_function [object java/lang/Object]) (exception.report - ["Non-function" (ffi.of_string (java/lang/Object::toString object))])) + "Non-function" (ffi.of_string (java/lang/Object::toString object)))) (def: ensure_function (-> Macro (Maybe net/sandius/rembulan/runtime/LuaFunction)) |