Skip to content

Commit

Permalink
Update src/vm/datatypes/strings.c
Browse files Browse the repository at this point in the history
Co-authored-by: Jason_000 <[email protected]>
  • Loading branch information
liz3 and Jason2605 authored Nov 8, 2024
1 parent 522d432 commit d0bf48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/datatypes/strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static Value lenString(DictuVM *vm, int argCount, Value *args) {

static Value byteLenString(DictuVM *vm, int argCount, Value *args) {
if (argCount != 0) {
runtimeError(vm, "len() takes no arguments (%d given)", argCount);
runtimeError(vm, "byteLen() takes no arguments (%d given)", argCount);
return EMPTY_VAL;
}

Expand Down

0 comments on commit d0bf48b

Please sign in to comment.