Skip to content

Commit

Permalink
Fix the number_tobigint conversion problem (jerryscript-project#4519)
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Orkenyi Virag orkvi@inf.u-szeged.hu
  • Loading branch information
orkvi authored Jan 25, 2021
1 parent 8be6aec commit b8a0ffd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ ecma_builtin_typedarray_prototype_set (ecma_value_t this_arg, /**< this argument
#if ENABLED (JERRY_BUILTIN_BIGINT)
if (ECMA_TYPEDARRAY_IS_BIGINT_TYPE (target_info.id))
{
value_to_set = ecma_bigint_to_bigint (elem, true);
value_to_set = ecma_bigint_to_bigint (elem, false);

if (ECMA_IS_VALUE_ERROR (value_to_set))
{
Expand Down
1 change: 0 additions & 1 deletion tests/test262-esnext-excludelist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
<test id="built-ins/TypedArray/prototype/join/get-length-uses-internal-arraylength.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/join/return-abrupt-from-separator-symbol.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/join/return-abrupt-from-separator.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/set/BigInt/number-tobigint.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/slice/set-values-from-different-ctor-type.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/sort/sorted-values.js"><reason></reason></test>
<test id="built-ins/TypedArray/prototype/toLocaleString/BigInt/get-length-uses-internal-arraylength.js"><reason></reason></test>
Expand Down

0 comments on commit b8a0ffd

Please sign in to comment.