Skip to content

Commit 8efd087

Browse files
committed
operator typo
1 parent 23aaca5 commit 8efd087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xs/sources/xsMapSet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016-2023 Moddable Tech, Inc.
2+
* Copyright (c) 2016-2026 Moddable Tech, Inc.
33
*
44
* This file is part of the Moddable SDK Runtime.
55
*
@@ -1531,7 +1531,7 @@ void fx_WeakMap_prototype_getOrInsertComputed(txMachine* the)
15311531
mxPushUndefined();
15321532
mxPushSlot(function);
15331533
mxCall();
1534-
if (key->next && (key->next->flag & XS_INTERNAL_FLAG) && (key->next->kind & XS_SYMBOL_KIND))
1534+
if (key->next && (key->next->flag & XS_INTERNAL_FLAG) && (key->next->kind == XS_SYMBOL_KIND))
15351535
mxPushSlot(key->next);
15361536
else
15371537
mxPushReference(key);

0 commit comments

Comments
 (0)