From 5270f301eba5237feebc8eca14aee6b7a992a819 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 6 Jul 2022 16:25:43 -0400 Subject: Made exception.report a function. --- lux-scheme/source/program.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-scheme') diff --git a/lux-scheme/source/program.lux b/lux-scheme/source/program.lux index 3ae437b2f..f979336ae 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))) + (list ["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))) + (list ["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) -- cgit v1.2.3