From e316cd04b69547588b0abbf0a9fd7de38788e2de Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Thu, 22 Jul 2021 13:48:21 +0300 Subject: [PATCH] [FIR] Fix consistency of FE 1.0 and FIR test data --- ...AliasConstructorTypeArgumentsInferenceWithNestedCalls.fir.kt | 1 + .../inference/annotationsForResolve/notNullAnnotation.fir.kt | 2 +- .../testsWithStdLib/java/checkEnhancedUpperBounds.fir.kt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls.fir.kt b/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls.fir.kt index b09e808a9d6..0970935e7dd 100644 --- a/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls.fir.kt +++ b/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls.fir.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -TypeEnhancementImprovementsInStrictMode // FULL_JDK // FILE: MapLike.java diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt index 8b6d3c16fc9..86ddd3a52a2 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt @@ -1,4 +1,4 @@ -// !LANGUAGE: +NewInference +// !LANGUAGE: -TypeEnhancementImprovementsInStrictMode // FILE: SmartFMap.java diff --git a/compiler/testData/diagnostics/testsWithStdLib/java/checkEnhancedUpperBounds.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/java/checkEnhancedUpperBounds.fir.kt index 13b6e46077b..48b92c78f22 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/java/checkEnhancedUpperBounds.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/java/checkEnhancedUpperBounds.fir.kt @@ -1,4 +1,5 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE +// !LANGUAGE: -TypeEnhancementImprovementsInStrictMode // FULL_JDK // FILE: MapLike.java