Skip to content

Commit b8a0ffd

Browse files
authored
Fix the number_tobigint conversion problem (jerryscript-project#4519)
JerryScript-DCO-1.0-Signed-off-by: Orkenyi Virag [email protected]
1 parent 8be6aec commit b8a0ffd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ ecma_builtin_typedarray_prototype_set (ecma_value_t this_arg, /**< this argument
668668
#if ENABLED (JERRY_BUILTIN_BIGINT)
669669
if (ECMA_TYPEDARRAY_IS_BIGINT_TYPE (target_info.id))
670670
{
671-
value_to_set = ecma_bigint_to_bigint (elem, true);
671+
value_to_set = ecma_bigint_to_bigint (elem, false);
672672

673673
if (ECMA_IS_VALUE_ERROR (value_to_set))
674674
{

tests/test262-esnext-excludelist.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
<test id="built-ins/TypedArray/prototype/join/get-length-uses-internal-arraylength.js"><reason></reason></test>
137137
<test id="built-ins/TypedArray/prototype/join/return-abrupt-from-separator-symbol.js"><reason></reason></test>
138138
<test id="built-ins/TypedArray/prototype/join/return-abrupt-from-separator.js"><reason></reason></test>
139-
<test id="built-ins/TypedArray/prototype/set/BigInt/number-tobigint.js"><reason></reason></test>
140139
<test id="built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js"><reason></reason></test>
141140
<test id="built-ins/TypedArray/prototype/sort/sorted-values.js"><reason></reason></test>
142141
<test id="built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js"><reason></reason></test>

0 commit comments

Comments
 (0)