From b0093a3849baaeb5e12692b2cf6ac65ba74bbd54 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 15 Mar 2022 22:45:49 -0400 Subject: Leaner syntax for library/lux/control/exception.report --- lux-lua/source/program.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lux-lua') 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)) -- cgit v1.2.3