From fb499def59adf96ab68b6da293a23a9d7b85bd32 Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Wed, 24 Oct 2018 19:35:43 +0300 Subject: [PATCH] Update tests --- .../box/callableReference/bound/kCallableNameIntrinsic.kt | 1 - compiler/testData/codegen/box/callableReference/bound/kt12738.kt | 1 - compiler/testData/codegen/box/callableReference/bound/kt15446.kt | 1 - .../codegen/box/callableReference/bound/simpleFunction.kt | 1 - .../codegen/box/callableReference/bound/simpleProperty.kt | 1 - .../box/callableReference/function/booleanNotIntrinsic.kt | 1 - .../codegen/box/callableReference/function/equalsIntrinsic.kt | 1 - .../box/callableReference/property/listOfStringsMapLength.kt | 1 - compiler/testData/codegen/box/intrinsics/kt10131.kt | 1 - compiler/testData/codegen/box/intrinsics/kt10131a.kt | 1 - .../codegen/boxInline/callableReference/bound/intrinsic.kt | 1 - .../codegen/boxInline/callableReference/bound/kt18728.kt | 1 - .../codegen/boxInline/callableReference/bound/kt18728_2.kt | 1 - .../testData/codegen/boxInline/callableReference/intrinsic.kt | 1 - .../codegen/boxInline/callableReference/propertyIntrinsic.kt | 1 - .../callableReferences/boundFunctionReferenceOnInt.kt | 1 - .../callableReferences/boundFunctionReferenceOnLong.kt | 1 - .../box/callableReference/function/stringNativeExtension.kt | 1 - .../testData/box/native/passMemberOrExtFromNative.kt | 1 - .../testData/box/native/passTopLevelFunctionFromNative.kt | 1 - 20 files changed, 20 deletions(-) diff --git a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt index 68f336966a3..557e76d4377 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kCallableNameIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // SKIP_SOURCEMAP_REMAPPING fun box(): String { diff --git a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt index 0b5a89994f0..4d0e0c85c47 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt12738.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt12738.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun get(t: T): () -> String { return t::toString } diff --git a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt index 98f9ecaa40f..8270b90eb95 100644 --- a/compiler/testData/codegen/box/callableReference/bound/kt15446.kt +++ b/compiler/testData/codegen/box/callableReference/bound/kt15446.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR //WITH_RUNTIME fun box(): String { val a = intArrayOf(1, 2) diff --git a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt index 05f99d7db85..15fae151f5f 100644 --- a/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt +++ b/compiler/testData/codegen/box/callableReference/bound/simpleFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { val f = "KOTLIN"::get return "${f(1)}${f(0)}" diff --git a/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt b/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt index d3e88429faa..b42c819306b 100644 --- a/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt +++ b/compiler/testData/codegen/box/callableReference/bound/simpleProperty.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun box(): String { val f = "kotlin"::length val result = f.get() diff --git a/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt b/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt index 277dee1499b..213c8d88996 100644 --- a/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { if ((Boolean::not)(true) != false) return "Fail 1" if ((Boolean::not)(false) != true) return "Fail 2" diff --git a/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt b/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt index ecdcdf70aff..c83a188802d 100644 --- a/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt +++ b/compiler/testData/codegen/box/callableReference/function/equalsIntrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A fun box() = if ((A::equals)(A(), A())) "Fail" else "OK" diff --git a/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt index 7723ac2b5d4..f1045e87699 100644 --- a/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt +++ b/compiler/testData/codegen/box/callableReference/property/listOfStringsMapLength.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME fun box(): String = diff --git a/compiler/testData/codegen/box/intrinsics/kt10131.kt b/compiler/testData/codegen/box/intrinsics/kt10131.kt index 577877711d2..b388bc4fb62 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME fun box(): String = diff --git a/compiler/testData/codegen/box/intrinsics/kt10131a.kt b/compiler/testData/codegen/box/intrinsics/kt10131a.kt index a7b01b09d34..db05fd54b18 100644 --- a/compiler/testData/codegen/box/intrinsics/kt10131a.kt +++ b/compiler/testData/codegen/box/intrinsics/kt10131a.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME fun box(): String = diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt index 185c6a8f5c4..ab6fb03092d 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/intrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt index 2dee164a805..8da9f6097a1 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt index aec50298c25..164bc0ee3ec 100644 --- a/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt +++ b/compiler/testData/codegen/boxInline/callableReference/bound/kt18728_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt index 0974343e59f..e1ef3a40ca3 100644 --- a/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/intrinsic.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // Enable when callable references to builtin members and using lambdas as extension lambdas (KT-13312) is supported // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt b/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt index d2d8ef79915..956b282e43b 100644 --- a/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt +++ b/compiler/testData/codegen/boxInline/callableReference/propertyIntrinsic.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // Enable when callable references to builtin members and using lambdas as extension lambdas (KT-13312) is supported // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt index 3ec51cf269b..1e25fd006dd 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnInt.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt // LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt index 3ec51cf269b..1e25fd006dd 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/boundFunctionReferenceOnLong.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt // LANGUAGE_VERSION: 1.2 // SKIP_INLINE_CHECK_IN: inlineFun$default diff --git a/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt b/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt index ad3c86d9bb4..0ab88708f03 100644 --- a/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt +++ b/js/js.translator/testData/box/callableReference/function/stringNativeExtension.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1282 package foo diff --git a/js/js.translator/testData/box/native/passMemberOrExtFromNative.kt b/js/js.translator/testData/box/native/passMemberOrExtFromNative.kt index 879ce20711b..85f256ac4b2 100644 --- a/js/js.translator/testData/box/native/passMemberOrExtFromNative.kt +++ b/js/js.translator/testData/box/native/passMemberOrExtFromNative.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1285 package foo diff --git a/js/js.translator/testData/box/native/passTopLevelFunctionFromNative.kt b/js/js.translator/testData/box/native/passTopLevelFunctionFromNative.kt index 5162f14d8dc..b5cf12dbd10 100644 --- a/js/js.translator/testData/box/native/passTopLevelFunctionFromNative.kt +++ b/js/js.translator/testData/box/native/passTopLevelFunctionFromNative.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1282 package foo