From 72cb0de705881228293eb612906a79224758819c Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 22 Jan 2020 14:48:54 +0300 Subject: [PATCH] [FIR-TEST] Update testdata --- .../testData/codegen/box/increment/postfixIncrementOnClass.kt | 2 ++ .../testData/codegen/box/increment/prefixIncrementOnClass.kt | 1 - compiler/testData/codegen/box/regressions/kt18779.kt | 2 ++ .../j+k/polymorphicSignature/spreadOperator_after.fir.kt | 4 ++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/testData/codegen/box/increment/postfixIncrementOnClass.kt b/compiler/testData/codegen/box/increment/postfixIncrementOnClass.kt index deb8df65d80..93aa4956e66 100644 --- a/compiler/testData/codegen/box/increment/postfixIncrementOnClass.kt +++ b/compiler/testData/codegen/box/increment/postfixIncrementOnClass.kt @@ -1,3 +1,5 @@ +// IGNORE_BACKEND_FIR: JVM_IR + interface Base class Derived: Base class Another: Base diff --git a/compiler/testData/codegen/box/increment/prefixIncrementOnClass.kt b/compiler/testData/codegen/box/increment/prefixIncrementOnClass.kt index b706a9f1c77..6bc75ad060e 100644 --- a/compiler/testData/codegen/box/increment/prefixIncrementOnClass.kt +++ b/compiler/testData/codegen/box/increment/prefixIncrementOnClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR interface Base class Derived: Base class Another: Base diff --git a/compiler/testData/codegen/box/regressions/kt18779.kt b/compiler/testData/codegen/box/regressions/kt18779.kt index 986fc495998..d72aec3b877 100644 --- a/compiler/testData/codegen/box/regressions/kt18779.kt +++ b/compiler/testData/codegen/box/regressions/kt18779.kt @@ -1,3 +1,5 @@ +// IGNORE_BACKEND_FIR: JVM_IR + sealed class Result { class Failure(val exception: Exception) : Result() class Success(val message: String) : Result() diff --git a/compiler/testData/diagnostics/tests/j+k/polymorphicSignature/spreadOperator_after.fir.kt b/compiler/testData/diagnostics/tests/j+k/polymorphicSignature/spreadOperator_after.fir.kt index f39d060eb3b..80247f68c1e 100644 --- a/compiler/testData/diagnostics/tests/j+k/polymorphicSignature/spreadOperator_after.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/polymorphicSignature/spreadOperator_after.fir.kt @@ -5,7 +5,7 @@ import java.lang.invoke.MethodHandle fun test(mh: MethodHandle) { mh.invokeExact("1", "2") - mh.invokeExact(*emptyArray(), "X") - mh.invokeExact(*arrayOf("A", "B"), "C", *arrayOf("D", "E")) + mh.invokeExact(*emptyArray(), "X") + mh.invokeExact(*arrayOf("A", "B"), "C", *arrayOf("D", "E")) mh.invoke(*arrayOf("A")) }