Skip to content

Commit 9b19589

Browse files
committed
Make sure to check for tuples
1 parent 13844dd commit 9b19589

File tree

1 file changed

+2
-1
lines changed
  • src/javascript/lib/core/erlang_compat

1 file changed

+2
-1
lines changed

src/javascript/lib/core/erlang_compat/maps.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ function is_non_primitive(key) {
1313
erlang.is_map(key) ||
1414
erlang.is_pid(key) ||
1515
erlang.is_reference(key) ||
16-
erlang.is_bitstring(key)
16+
erlang.is_bitstring(key) ||
17+
erlang.is_tuple(key)
1718
);
1819
}
1920

0 commit comments

Comments
 (0)