fix typo and add benchmark code

This commit is contained in:
2025-04-03 16:38:19 -07:00
parent 96290cf128
commit 548d7596f4
2 changed files with 87 additions and 1 deletions

View File

@@ -2287,7 +2287,7 @@ checkkeyword(object *obj)
builtin_t kname = builtin(obj->name);
uint8_t context = getminmax(kname);
if (context != 0 && context !e Context) {
if (context != 0 && context != Context) {
error(invalidkey, obj);
}