summaryrefslogtreecommitdiff
path: root/pez.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-10-10 19:52:13 +0200
committerlemon <lsof@mailbox.org>2022-10-10 19:52:17 +0200
commiteff988b7340856bd2f71eb5c7a86c487a665bc7e (patch)
treeb3cf9532627cfd1ba4c9ee68c4ddada346a5fef8 /pez.c
parente053f449390a632c48de42329a4ba2ca8a368150 (diff)
errata
Diffstat (limited to 'pez.c')
-rw-r--r--pez.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pez.c b/pez.c
index eceacc9..d7db3e7 100644
--- a/pez.c
+++ b/pez.c
@@ -2022,7 +2022,7 @@ static bool
f_arraypush(PezContext *cx, int argc)
{
Array *arr;
- TRY(pez_checksig(cx, argc, "array#fill", "array, any"));
+ TRY(pez_checksig(cx, argc, "array#push", "array, any"));
assert(isobj_of(cx->stktop[-2], PEZ_TArray));
arr = unbox_obj(cx->stktop[-2]);
TRY(arrpushn(cx, arr, peek(cx), 1));