From 9c9cf2086dbbd1aff343b981730c9a4271dfc3e6 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Tue, 19 Nov 2019 10:43:53 +0300 Subject: [PATCH] Unmute recently fixed FIR black box tests --- compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt | 1 - compiler/testData/codegen/box/casts/isNullablePrimitive.kt | 1 - compiler/testData/codegen/box/classes/kt6816.kt | 1 - compiler/testData/codegen/box/ieee754/when.kt | 1 - compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt | 1 - compiler/testData/codegen/box/increment/nullable.kt | 1 - .../codegen/box/increment/postfixIncrementDoubleSmartCast.kt | 1 - .../codegen/box/increment/postfixIncrementOnClassSmartCast.kt | 1 - .../codegen/box/increment/postfixIncrementOnSmartCast.kt | 1 - .../codegen/box/increment/prefixIncrementOnClassSmartCast.kt | 1 - .../testData/codegen/box/increment/prefixIncrementOnSmartCast.kt | 1 - compiler/testData/codegen/box/jvm8/kt16581.kt | 1 - compiler/testData/codegen/box/jvm8/kt16581_2.kt | 1 - .../codegen/box/package/nullablePrimitiveNoFieldInitializer.kt | 1 - compiler/testData/codegen/box/primitiveTypes/kt14868.kt | 1 - compiler/testData/codegen/box/primitiveTypes/kt1508.kt | 1 - compiler/testData/codegen/box/properties/kt1165.kt | 1 - compiler/testData/codegen/box/properties/kt3524.kt | 1 - compiler/testData/codegen/box/regressions/kt14447.kt | 1 - .../box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt | 1 - .../when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt | 1 - 21 files changed, 21 deletions(-) diff --git a/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt b/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt index e71f30fd126..e3016ff7bbe 100644 --- a/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt +++ b/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { val a: Any = 1 val b: Any = 42 diff --git a/compiler/testData/codegen/box/casts/isNullablePrimitive.kt b/compiler/testData/codegen/box/casts/isNullablePrimitive.kt index 0ccf40e3ecd..6a820551736 100644 --- a/compiler/testData/codegen/box/casts/isNullablePrimitive.kt +++ b/compiler/testData/codegen/box/casts/isNullablePrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { val n: Any? = null diff --git a/compiler/testData/codegen/box/classes/kt6816.kt b/compiler/testData/codegen/box/classes/kt6816.kt index cbe5cbe04b7..ed081c608fb 100644 --- a/compiler/testData/codegen/box/classes/kt6816.kt +++ b/compiler/testData/codegen/box/classes/kt6816.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public class CalculatorConstants( val id: Long = 0, val detour: Double = 0.0, diff --git a/compiler/testData/codegen/box/ieee754/when.kt b/compiler/testData/codegen/box/ieee754/when.kt index d601d836cef..7b851b7f132 100644 --- a/compiler/testData/codegen/box/ieee754/when.kt +++ b/compiler/testData/codegen/box/ieee754/when.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -ProperIeee754Comparisons -// IGNORE_BACKEND_FIR: JVM_IR // DONT_TARGET_EXACT_BACKEND: JS_IR fun box(): String { diff --git a/compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt b/compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt index 97a5595d6af..f3b84e034bd 100644 --- a/compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt +++ b/compiler/testData/codegen/box/increment/assignPlusOnSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public fun box() : String { var i : Int? i = 10 diff --git a/compiler/testData/codegen/box/increment/nullable.kt b/compiler/testData/codegen/box/increment/nullable.kt index bdf4784eb21..4802b8a7fbc 100644 --- a/compiler/testData/codegen/box/increment/nullable.kt +++ b/compiler/testData/codegen/box/increment/nullable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { var aByte: Byte? = 0 var bByte: Byte = 0 diff --git a/compiler/testData/codegen/box/increment/postfixIncrementDoubleSmartCast.kt b/compiler/testData/codegen/box/increment/postfixIncrementDoubleSmartCast.kt index bd4b5bcf196..738a31c9697 100644 --- a/compiler/testData/codegen/box/increment/postfixIncrementDoubleSmartCast.kt +++ b/compiler/testData/codegen/box/increment/postfixIncrementDoubleSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public fun box() : String { var i : Int? i = 10 diff --git a/compiler/testData/codegen/box/increment/postfixIncrementOnClassSmartCast.kt b/compiler/testData/codegen/box/increment/postfixIncrementOnClassSmartCast.kt index cf19e08e909..3bc2442a3be 100644 --- a/compiler/testData/codegen/box/increment/postfixIncrementOnClassSmartCast.kt +++ b/compiler/testData/codegen/box/increment/postfixIncrementOnClassSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base class Derived: Base() operator fun Derived.inc(): Derived { return Derived() } diff --git a/compiler/testData/codegen/box/increment/postfixIncrementOnSmartCast.kt b/compiler/testData/codegen/box/increment/postfixIncrementOnSmartCast.kt index 0aca9fef88d..3da28a2d6e6 100644 --- a/compiler/testData/codegen/box/increment/postfixIncrementOnSmartCast.kt +++ b/compiler/testData/codegen/box/increment/postfixIncrementOnSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public fun box() : String { var i : Int? i = 10 diff --git a/compiler/testData/codegen/box/increment/prefixIncrementOnClassSmartCast.kt b/compiler/testData/codegen/box/increment/prefixIncrementOnClassSmartCast.kt index e3482908818..c51f6d1d816 100644 --- a/compiler/testData/codegen/box/increment/prefixIncrementOnClassSmartCast.kt +++ b/compiler/testData/codegen/box/increment/prefixIncrementOnClassSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR open class Base class Derived: Base() operator fun Derived.inc(): Derived { return Derived() } diff --git a/compiler/testData/codegen/box/increment/prefixIncrementOnSmartCast.kt b/compiler/testData/codegen/box/increment/prefixIncrementOnSmartCast.kt index 58a93f04c52..80e48f4f78b 100644 --- a/compiler/testData/codegen/box/increment/prefixIncrementOnSmartCast.kt +++ b/compiler/testData/codegen/box/increment/prefixIncrementOnSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public fun box() : String { var i : Int? i = 10 diff --git a/compiler/testData/codegen/box/jvm8/kt16581.kt b/compiler/testData/codegen/box/jvm8/kt16581.kt index ad0f6c431d3..a98e49569a9 100644 --- a/compiler/testData/codegen/box/jvm8/kt16581.kt +++ b/compiler/testData/codegen/box/jvm8/kt16581.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 fun failAtRuntime(numberArg: Number = 0.0): Number { diff --git a/compiler/testData/codegen/box/jvm8/kt16581_2.kt b/compiler/testData/codegen/box/jvm8/kt16581_2.kt index 699e3916654..a2b67eec1b7 100644 --- a/compiler/testData/codegen/box/jvm8/kt16581_2.kt +++ b/compiler/testData/codegen/box/jvm8/kt16581_2.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt b/compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt index 1adcfa60e19..c0f72702d06 100644 --- a/compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt +++ b/compiler/testData/codegen/box/package/nullablePrimitiveNoFieldInitializer.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR val zint : Int? = 1 val zlong : Long? = 2 val zbyte : Byte? = 3 diff --git a/compiler/testData/codegen/box/primitiveTypes/kt14868.kt b/compiler/testData/codegen/box/primitiveTypes/kt14868.kt index f68b267cae0..1416af7135b 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt14868.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt14868.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun box(): String { val x: Number = 75 diff --git a/compiler/testData/codegen/box/primitiveTypes/kt1508.kt b/compiler/testData/codegen/box/primitiveTypes/kt1508.kt index 7e100379f19..28e534afe39 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt1508.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt1508.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR fun test( n : Number ) = n.toInt().toLong() + n.toLong() fun box() : String { diff --git a/compiler/testData/codegen/box/properties/kt1165.kt b/compiler/testData/codegen/box/properties/kt1165.kt index 6b7ee8e8f2c..0a32a58b9e2 100644 --- a/compiler/testData/codegen/box/properties/kt1165.kt +++ b/compiler/testData/codegen/box/properties/kt1165.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR public abstract class VirtualFile() { public abstract val size : Long } diff --git a/compiler/testData/codegen/box/properties/kt3524.kt b/compiler/testData/codegen/box/properties/kt3524.kt index ea1fa6c8880..3fcdaaebcf1 100644 --- a/compiler/testData/codegen/box/properties/kt3524.kt +++ b/compiler/testData/codegen/box/properties/kt3524.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR val i: Any = 12 fun box(): String { diff --git a/compiler/testData/codegen/box/regressions/kt14447.kt b/compiler/testData/codegen/box/regressions/kt14447.kt index 3061fe0c5e8..7aab4c5003b 100644 --- a/compiler/testData/codegen/box/regressions/kt14447.kt +++ b/compiler/testData/codegen/box/regressions/kt14447.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR class ImpulsMigration { fun migrate(oldVersion: Long) diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt index 8bc320a985b..762b9a79f0a 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND_FIR: JVM_IR val x: Any = 1 diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt index 21b0168d1ce..60c515dbf22 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND_FIR: JVM_IR var effectCount = 0