From c50aa5f2ec74bdbd43c6579e16018b64e089db55 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Thu, 15 Oct 2020 12:32:41 +0300 Subject: [PATCH] [FIR TEST] Bad test data changes due to Java signature transformation Both changes are related to getOrDefault. We should either make Java version low priority or remove it at all. --- .../box/reflection/methodsFromAny/builtinFunctionsToString.kt | 1 + .../testsWithStdLib/targetedBuiltIns/unsupportedFeature.fir.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt index 5c7bc1de260..5cc381840d4 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt @@ -1,5 +1,6 @@ // SKIP_JDK6 // TARGET_BACKEND: JVM +// IGNORE_BACKEND_FIR: JVM_IR // FULL_JDK // WITH_REFLECT diff --git a/compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns/unsupportedFeature.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns/unsupportedFeature.fir.kt index bdffced2b4b..b71491bbadc 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns/unsupportedFeature.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/targetedBuiltIns/unsupportedFeature.fir.kt @@ -46,7 +46,7 @@ fun foo(x: List, y: Throwable, z: A3) { y.fillInStackTrace() checkType { _() } - HashMap().getOrDefault(Any(), null) + HashMap().getOrDefault(Any(), null) // Falls back to extension in stdlib y.printStackTrace()