From 09d30c91bf73bb881bf88eae3f4f1f74ec27f947 Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Wed, 26 May 2021 17:03:42 +0300 Subject: [PATCH] [JS TESTS] Disable mangler checker in tests --- compiler/testData/codegen/box/coroutines/tailCallToNothing.kt | 1 + compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt | 1 + compiler/testData/codegen/box/enum/kt20651a.kt | 1 + compiler/testData/codegen/box/enum/kt20651b.kt | 1 + compiler/testData/codegen/box/inference/kt38664.kt | 1 + .../codegen/box/inlineClasses/constructorCallableReference.kt | 1 + .../ir/serializationRegressions/deepGenericDelegatedProperty.kt | 1 + 7 files changed, 7 insertions(+) diff --git a/compiler/testData/codegen/box/coroutines/tailCallToNothing.kt b/compiler/testData/codegen/box/coroutines/tailCallToNothing.kt index 595fd0aa0bd..599cb5dbec7 100644 --- a/compiler/testData/codegen/box/coroutines/tailCallToNothing.kt +++ b/compiler/testData/codegen/box/coroutines/tailCallToNothing.kt @@ -1,5 +1,6 @@ // WITH_RUNTIME // WITH_COROUTINES +// SKIP_MANGLE_VERIFICATION import helpers.* import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* diff --git a/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt b/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt index d41886a5370..7316dbdd631 100644 --- a/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt +++ b/compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt @@ -1,4 +1,5 @@ // KT-4423 Enum with function not compiled +// SKIP_MANGLE_VERIFICATION enum class Sign(val str: String, val func: (x: Int, y: Int) -> Int){ plus("+", { x, y -> x + y }), diff --git a/compiler/testData/codegen/box/enum/kt20651a.kt b/compiler/testData/codegen/box/enum/kt20651a.kt index 4bdecd58654..56ad7c1adde 100644 --- a/compiler/testData/codegen/box/enum/kt20651a.kt +++ b/compiler/testData/codegen/box/enum/kt20651a.kt @@ -1,3 +1,4 @@ +// SKIP_MANGLE_VERIFICATION enum class Foo( val x: String, val callback: () -> String diff --git a/compiler/testData/codegen/box/enum/kt20651b.kt b/compiler/testData/codegen/box/enum/kt20651b.kt index 477e3036569..3ea67f9574d 100644 --- a/compiler/testData/codegen/box/enum/kt20651b.kt +++ b/compiler/testData/codegen/box/enum/kt20651b.kt @@ -1,3 +1,4 @@ +// SKIP_MANGLE_VERIFICATION interface Callback { fun invoke(): String } diff --git a/compiler/testData/codegen/box/inference/kt38664.kt b/compiler/testData/codegen/box/inference/kt38664.kt index 26272f3e0e4..ea068716153 100644 --- a/compiler/testData/codegen/box/inference/kt38664.kt +++ b/compiler/testData/codegen/box/inference/kt38664.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: JS +// SKIP_MANGLE_VERIFICATION interface C { fun foo(a: A): B diff --git a/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt b/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt index 8aa0e078d1c..0982077ace4 100644 --- a/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt +++ b/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt @@ -1,5 +1,6 @@ // WITH_RUNTIME // KJS_FULL_RUNTIME +// SKIP_MANGLE_VERIFICATION // IGNORE_BACKEND: WASM interface I { diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt index db0654692ec..be322310ba3 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt @@ -1,6 +1,7 @@ // DONT_TARGET_EXACT_BACKEND: WASM // WASM_MUTE_REASON: PROPERTY_REFERENCES // IGNORE_BACKEND: NATIVE +// SKIP_MANGLE_VERIFICATION //For KT-6020 // MODULE: lib