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-php/source/program.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-php') diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux index e4ef275d7..af80c26a0 100644 --- a/lux-php/source/program.lux +++ b/lux-php/source/program.lux @@ -182,8 +182,8 @@ (exception: (unknown_kind_of_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))) (def: (value_wrapper lux_structure value) (-> (-> (Array java/lang/Object) php/runtime/Memory) java/lang/Object php/runtime/Memory) @@ -417,8 +417,8 @@ (exception: (cannot_apply_a_non_function [object java/lang/Object]) (exception.report - ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))] - ["Non-function" (java/lang/Object::toString object)])) + "Class" (java/lang/Object::toString (java/lang/Object::getClass object)) + "Non-function" (java/lang/Object::toString object))) (ffi.import: javax/script/ScriptEngine "[1]::[0]" -- cgit v1.2.3