From 8e3ed7630c7383869b6e16b494d4288c4e094dd3 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 1 Jan 2022 15:37:07 +0100 Subject: Argument counting starts at 1 now --- std/ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/ref.c') diff --git a/std/ref.c b/std/ref.c index f92e4b0..ee18bfc 100644 --- a/std/ref.c +++ b/std/ref.c @@ -9,7 +9,7 @@ UwUVMValue uwu_call(UwUVMArgs *args) UwUVMValue value = uwuvm_get_arg(args, 0); if (value.type != &uwuref_type) - error(":ref:call requires a function reference as $0\n"); + error(":ref:call requires a function reference as $1\n"); return uwuvm_call_function(value.data, args->num - 1, &args->unevaluated[1], args->super); } -- cgit v1.2.3