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-r/source/program.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lux-r/source') diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index c021c1908..7cb8645f7 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -173,8 +173,8 @@ (with_template [] [(exception ( [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)])))] [unknown_kind_of_object] [cannot_apply_a_non_function] @@ -233,9 +233,9 @@ ... org/renjin/sexp/SEXP ... (exec ... ("lux io log" (exception.report - ... "@@" "eval" - ... "context" (debug.inspect context) - ... "environment" (debug.inspect environment))) + ... (list ["@@" "eval"] + ... ["context" (debug.inspect context)] + ... ["environment" (debug.inspect environment)]))) ... self)) ... (org/renjin/sexp/AbstractSEXP -- cgit v1.2.3