From aad9cbbf01b1c6aa1a51e3f8f7b4fa3934c8c264 Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Thu, 26 Sep 2019 11:54:49 +0300 Subject: [PATCH] [JS IR BE] Fix tests failing due to reduced runtime --- .../coroutines/builderInferenceAndGenericArrayAcessCall.kt | 2 +- compiler/testData/codegen/box/extensionFunctions/kt23675.kt | 5 ++--- .../box/operatorConventions/genericArrayAccessCall.kt | 2 +- .../box/multiModule/privateInterfaceMethodInheritance.kt | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/compiler/testData/codegen/box/coroutines/builderInferenceAndGenericArrayAcessCall.kt b/compiler/testData/codegen/box/coroutines/builderInferenceAndGenericArrayAcessCall.kt index 6f5d3a63011..d833367c8d8 100644 --- a/compiler/testData/codegen/box/coroutines/builderInferenceAndGenericArrayAcessCall.kt +++ b/compiler/testData/codegen/box/coroutines/builderInferenceAndGenericArrayAcessCall.kt @@ -1,5 +1,5 @@ // WITH_RUNTIME -// IGNORE_BACKEND: JS_IR +// KJS_WITH_FULL_RUNTIME import kotlin.experimental.ExperimentalTypeInference diff --git a/compiler/testData/codegen/box/extensionFunctions/kt23675.kt b/compiler/testData/codegen/box/extensionFunctions/kt23675.kt index f1f3c3dad41..1837e955ab8 100644 --- a/compiler/testData/codegen/box/extensionFunctions/kt23675.kt +++ b/compiler/testData/codegen/box/extensionFunctions/kt23675.kt @@ -1,6 +1,5 @@ -//WITH_RUNTIME - -// IGNORE_BACKEND: JS_IR +// WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME class Environment( val fieldAccessedInsideChild: Int, diff --git a/compiler/testData/codegen/box/operatorConventions/genericArrayAccessCall.kt b/compiler/testData/codegen/box/operatorConventions/genericArrayAccessCall.kt index dd2010957c3..2468d44bc69 100644 --- a/compiler/testData/codegen/box/operatorConventions/genericArrayAccessCall.kt +++ b/compiler/testData/codegen/box/operatorConventions/genericArrayAccessCall.kt @@ -1,5 +1,5 @@ -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME +// KJS_WITH_FULL_RUNTIME import kotlin.collections.HashMap diff --git a/js/js.translator/testData/box/multiModule/privateInterfaceMethodInheritance.kt b/js/js.translator/testData/box/multiModule/privateInterfaceMethodInheritance.kt index ff01a718f67..11b9cec5e96 100644 --- a/js/js.translator/testData/box/multiModule/privateInterfaceMethodInheritance.kt +++ b/js/js.translator/testData/box/multiModule/privateInterfaceMethodInheritance.kt @@ -1,5 +1,5 @@ // EXPECTED_REACHABLE_NODES: 1280 -// IGNORE_BACKEND: JS_IR +// KJS_WITH_FULL_RUNTIME // MODULE: lib // FILE: lib.kt package lib