summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-11-15 07:18:34 -0800
committerKaz Kylheku <kaz@kylheku.com>2023-11-15 07:18:34 -0800
commitab7b3f9c872d103ffe21fa65f5b420dc94414f75 (patch)
tree87f5dd684565e9ccb8b7f627f0a053975738b413 /lib.c
parenta8eba5d882105580383cf0da91d87c2477440f37 (diff)
downloadtxr-ab7b3f9c872d103ffe21fa65f5b420dc94414f75.tar.gz
txr-ab7b3f9c872d103ffe21fa65f5b420dc94414f75.tar.bz2
txr-ab7b3f9c872d103ffe21fa65f5b420dc94414f75.zip
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.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
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: