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-python/source/program.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lux-python') 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 -- cgit v1.2.3