diff --git a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt index 07735f6b661..b26a4e942d1 100644 --- a/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt +++ b/compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt @@ -1,5 +1,6 @@ // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN fun sort(list: MutableList, comparator: (String, String) -> Int) { list.sortWith(Comparator(comparator)) diff --git a/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt b/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt index 1b64f47c726..3f635747c4d 100644 --- a/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt +++ b/compiler/testData/codegen/box/inference/integerLiteralTypeInLamdaReturnType.kt @@ -1,6 +1,7 @@ // !LANGUAGE: +NewInference // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME +// SKIP_DCE_DRIVEN class Foo { fun test(candidates: Collection): List { diff --git a/compiler/testData/codegen/box/sam/constructors/comparator.kt b/compiler/testData/codegen/box/sam/constructors/comparator.kt index b6425b8e53a..2970617d582 100644 --- a/compiler/testData/codegen/box/sam/constructors/comparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/comparator.kt @@ -1,5 +1,6 @@ // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN fun box(): String { val list = mutableListOf(3, 2, 4, 8, 1, 5) diff --git a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt index 4df997f35f9..87722bd3110 100644 --- a/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt +++ b/compiler/testData/codegen/box/sam/constructors/nonLiteralComparator.kt @@ -1,5 +1,6 @@ // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN fun box(): String { val list = mutableListOf(3, 2, 4, 8, 1, 5) diff --git a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt index 129c28ec752..ac6113b0488 100644 --- a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt +++ b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt @@ -1,5 +1,6 @@ // KJS_WITH_FULL_RUNTIME // EXPECTED_REACHABLE_NODES: 1702 +// SKIP_DCE_DRIVEN package foo import kotlin.comparisons.* diff --git a/js/js.translator/testData/box/kotlin.test/beforeAfter.kt b/js/js.translator/testData/box/kotlin.test/beforeAfter.kt index a5505373110..2512b38ce27 100644 --- a/js/js.translator/testData/box/kotlin.test/beforeAfter.kt +++ b/js/js.translator/testData/box/kotlin.test/beforeAfter.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1706 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test diff --git a/js/js.translator/testData/box/kotlin.test/ignore.kt b/js/js.translator/testData/box/kotlin.test/ignore.kt index 7cbbcf0eff2..96aa3798558 100644 --- a/js/js.translator/testData/box/kotlin.test/ignore.kt +++ b/js/js.translator/testData/box/kotlin.test/ignore.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1709 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test diff --git a/js/js.translator/testData/box/kotlin.test/incremental.kt b/js/js.translator/testData/box/kotlin.test/incremental.kt index a3a6d1cf91a..ecd0b4d844b 100644 --- a/js/js.translator/testData/box/kotlin.test/incremental.kt +++ b/js/js.translator/testData/box/kotlin.test/incremental.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1829 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN // FILE: a.kt package a diff --git a/js/js.translator/testData/box/kotlin.test/inherited.kt b/js/js.translator/testData/box/kotlin.test/inherited.kt index 0b9af9bfa14..38176a7b503 100644 --- a/js/js.translator/testData/box/kotlin.test/inherited.kt +++ b/js/js.translator/testData/box/kotlin.test/inherited.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1719 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test diff --git a/js/js.translator/testData/box/kotlin.test/mpp.kt b/js/js.translator/testData/box/kotlin.test/mpp.kt index c09b01ee688..f042b20954d 100644 --- a/js/js.translator/testData/box/kotlin.test/mpp.kt +++ b/js/js.translator/testData/box/kotlin.test/mpp.kt @@ -1,6 +1,7 @@ // EXPECTED_REACHABLE_NODES: 1697 // !LANGUAGE: +MultiPlatformProjects // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN // FILE: lib.kt import kotlin.test.Test diff --git a/js/js.translator/testData/box/kotlin.test/nested.kt b/js/js.translator/testData/box/kotlin.test/nested.kt index ca86a588a2e..2c02cee72a0 100644 --- a/js/js.translator/testData/box/kotlin.test/nested.kt +++ b/js/js.translator/testData/box/kotlin.test/nested.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1735 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test diff --git a/js/js.translator/testData/box/kotlin.test/returnTestResult.kt b/js/js.translator/testData/box/kotlin.test/returnTestResult.kt index 30ccb85385d..bda2ab13a93 100644 --- a/js/js.translator/testData/box/kotlin.test/returnTestResult.kt +++ b/js/js.translator/testData/box/kotlin.test/returnTestResult.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1737 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test import kotlin.test.BeforeTest diff --git a/js/js.translator/testData/box/kotlin.test/simple.kt b/js/js.translator/testData/box/kotlin.test/simple.kt index e1fe5c1631a..1d47b7c3308 100644 --- a/js/js.translator/testData/box/kotlin.test/simple.kt +++ b/js/js.translator/testData/box/kotlin.test/simple.kt @@ -1,5 +1,6 @@ // EXPECTED_REACHABLE_NODES: 1698 // KJS_WITH_FULL_RUNTIME +// SKIP_DCE_DRIVEN import common.* import kotlin.test.Test