aboutsummaryrefslogtreecommitdiff
path: root/std/ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'std/ref.c')
-rw-r--r--std/ref.c2
1 files changed, 1 insertions, 1 deletions
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);
}