diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:28:52 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:28:52 +0100 |
commit | fc5fb73c08d563ae441f785276f1304da7538fea (patch) | |
tree | be5bb5fc54253ac73927ce7293381b7d0cf6c8f8 | |
parent | 976aeda6465d0700843acbacdf79e18a652fd57e (diff) |
finish append -> append!
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ static Val fn_arr(State *S, int nargs, Val *args) { return VAL_OBJ(o); } static Val fn_append(State *S, int nargs, Val *args) { - CHECK(nargs == 2, "need 2 args to append"); + CHECK(nargs == 2, "need 2 args to append!"); CHECK(IS_ARR(args[0]), "can only append to arr"); ObjArr *a = AS_ARR(args[0]); objarr_append(S, a, args[1]); |