From f0992772109f37444f848f249f1741583eb82435 Mon Sep 17 00:00:00 2001 From: Svyatoslav Kuzmich Date: Mon, 2 Dec 2019 17:10:10 +0300 Subject: [PATCH] [JS IR] Unmute tests and add KJS_WITH_FULL_RUNTIME --- .../codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt | 2 +- compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt | 2 +- .../codegen/box/unsignedTypes/unsignedToSignedConversion.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt b/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt index aa7c9cdb0ea..d3ac2ddf1f1 100644 --- a/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt +++ b/compiler/testData/codegen/box/elvis/genericElvisWithMoreSpecificLHS.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +NewInference // IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME -// IGNORE_BACKEND: JS_IR +// KJS_WITH_FULL_RUNTIME fun test(foo: MutableList?): List { val bar = foo ?: listOf() diff --git a/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt b/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt index a7aa0132efb..6f8a18afbff 100644 --- a/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt +++ b/compiler/testData/codegen/box/elvis/genericElvisWithNullLHS.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND_FIR: JVM_IR // WITH_RUNTIME -// IGNORE_BACKEND: JS_IR +// KJS_WITH_FULL_RUNTIME fun test() { fun returnMutableList(): MutableList? = null diff --git a/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt b/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt index a21c88ed239..9427661eeee 100644 --- a/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt +++ b/compiler/testData/codegen/box/unsignedTypes/unsignedToSignedConversion.kt @@ -1,5 +1,5 @@ // WITH_RUNTIME -// IGNORE_BACKEND: JS_IR +// KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND_FIR: JVM_IR fun takeUByte(u: UByte) = u.toByte()