mirror of
https://github.com/janet-lang/janet
synced 2025-11-21 01:34:49 +00:00
changed some error messages 'x|y' -> 'x or y'
This commit is contained in:
@@ -458,7 +458,7 @@ JANET_CORE_FN(janet_core_getproto,
|
||||
? janet_wrap_struct(janet_struct_proto(st))
|
||||
: janet_wrap_nil();
|
||||
}
|
||||
janet_panicf("expected struct|table, got %v", argv[0]);
|
||||
janet_panicf("expected struct or table, got %v", argv[0]);
|
||||
}
|
||||
|
||||
JANET_CORE_FN(janet_core_struct,
|
||||
|
||||
Reference in New Issue
Block a user