From ab7b3f9c872d103ffe21fa65f5b420dc94414f75 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 15 Nov 2023 07:18:34 -0800 Subject: dwim: correction to error diagnostic. * lib.c (dwim_set): The "not a place" diagnostic applies not only in situations when the object is a list; the diagnostic should not imply that the argument is a list when it isn't. --- lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.c b/lib.c index 4ce12556..2e5cffef 100644 --- a/lib.c +++ b/lib.c @@ -13431,7 +13431,7 @@ val dwim_set(val place_p, val seq, varg vargs) } } notplace: - uw_throwf(error_s, lit("~a: list form must be place"), self, nao); + uw_throwf(error_s, lit("~a: mutated object must be place"), self, nao); fewargs: uw_throwf(error_s, lit("~a: missing required arguments"), self, nao); excargs: -- cgit v1.2.3