From b8a0ffd9133708f1c4f3059a1bcec96536c53544 Mon Sep 17 00:00:00 2001 From: Virag Orkenyi Date: Mon, 25 Jan 2021 11:54:55 +0100 Subject: [PATCH] Fix the number_tobigint conversion problem (#4519) JerryScript-DCO-1.0-Signed-off-by: Orkenyi Virag orkvi@inf.u-szeged.hu --- .../typedarray/ecma-builtin-typedarray-prototype.c | 2 +- tests/test262-esnext-excludelist.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c b/jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c index 92627add8..1b105c683 100644 --- a/jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c +++ b/jerry-core/ecma/builtin-objects/typedarray/ecma-builtin-typedarray-prototype.c @@ -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)) { diff --git a/tests/test262-esnext-excludelist.xml b/tests/test262-esnext-excludelist.xml index c90fb1e91..0bcae165a 100644 --- a/tests/test262-esnext-excludelist.xml +++ b/tests/test262-esnext-excludelist.xml @@ -136,7 +136,6 @@ -