From 9dda5e4fcd8c324fcf07c83eee8e0fba3bddb449 Mon Sep 17 00:00:00 2001 From: Kirill Rakhman Date: Thu, 16 Feb 2023 09:50:46 +0100 Subject: [PATCH] [Test] Remove redundant FIR_DISABLE_LAZY_RESOLVE_CHECKS directives KT-56177 --- .../testData/resolveWithStdlib/intellij/arrayOfImports.kt | 1 - compiler/testData/diagnostics/nativeTests/throws.fir.kt | 1 - compiler/testData/diagnostics/nativeTests/throws.kt | 1 - compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt | 1 - compiler/testData/diagnostics/nativeTests/throwsClash.kt | 1 - .../tests/annotations/AmbigiousAnnotationConstructor.fir.kt | 1 - .../tests/annotations/AmbigiousAnnotationConstructor.kt | 1 - .../diagnostics/tests/annotations/AnnotationsForClasses.kt | 1 - compiler/testData/diagnostics/tests/annotations/Deprecated.kt | 1 - .../testData/diagnostics/tests/deprecated/annotationUsage.kt | 1 - .../deprecated/candidateBehindHiddenPropertyAccessors.fir.kt | 1 - .../deprecated/candidateBehindHiddenPropertyAccessors.kt | 1 - .../diagnostics/tests/deprecated/classWithCompanionObject.kt | 1 - .../diagnostics/tests/deprecated/companionObjectUsage.kt | 1 - .../diagnostics/tests/deprecated/componentUsage.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/componentUsage.kt | 1 - .../tests/deprecated/deprecatedCompanionAndClassReference.kt | 1 - .../diagnostics/tests/deprecated/deprecatedConstructor.kt | 1 - .../testData/diagnostics/tests/deprecated/deprecatedError.kt | 1 - .../diagnostics/tests/deprecated/deprecatedErrorBuilder.kt | 1 - .../testData/diagnostics/tests/deprecated/deprecatedHidden.kt | 1 - .../deprecated/deprecatedHiddenOnCallableReferenceArgument.kt | 1 - .../tests/deprecated/deprecatedInheritance_after.fir.kt | 1 - .../tests/deprecated/deprecatedInheritance_after.kt | 1 - .../tests/deprecated/deprecatedInheritance_before.fir.kt | 1 - .../tests/deprecated/deprecatedInheritance_before.kt | 1 - .../deprecated/deprecatedPropertyInheritance_after.fir.kt | 1 - .../tests/deprecated/deprecatedPropertyInheritance_after.kt | 1 - .../deprecated/deprecatedPropertyInheritance_before.fir.kt | 1 - .../tests/deprecated/deprecatedPropertyInheritance_before.kt | 1 - .../checkValuesAreParseableAsVersion.fir.kt | 1 - .../deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt | 1 - .../deprecatedSinceKotlinDeclaration.fir.kt | 1 - .../deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt | 1 - .../deprecatedSinceKotlinHiddenOnReferenceArgument.kt | 1 - .../deprecatedSinceKotlinOutsideKotlinPackage.kt | 1 - .../deprecatedSinceKotlinWithoutArguments.fir.kt | 1 - .../deprecatedSinceKotlinWithoutArguments.kt | 1 - .../tests/deprecated/deprecatedSinceKotlin/error.kt | 1 - .../tests/deprecated/deprecatedSinceKotlin/hidden.kt | 1 - .../messageFromDeprecatedAnnotation.fir.kt | 1 - .../deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt | 1 - .../tests/deprecated/deprecatedSinceKotlin/warning.kt | 1 - .../deprecated/duplicatedOverrideDeprecationOnProperty.kt | 1 - .../testData/diagnostics/tests/deprecated/functionUsage.kt | 1 - .../tests/deprecated/genericConstructorUsage.fir.kt | 1 - .../diagnostics/tests/deprecated/genericConstructorUsage.kt | 1 - .../tests/deprecated/hiddenPropertyAccessors.fir.kt | 1 - .../diagnostics/tests/deprecated/hiddenPropertyAccessors.kt | 1 - compiler/testData/diagnostics/tests/deprecated/imports.kt | 1 - .../diagnostics/tests/deprecated/iteratorUsage.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/iteratorUsage.kt | 1 - .../diagnostics/tests/deprecated/javaDeprecated.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/javaDeprecated.kt | 1 - .../testData/diagnostics/tests/deprecated/nestedTypesUsage.kt | 1 - compiler/testData/diagnostics/tests/deprecated/objectUsage.kt | 1 - .../diagnostics/tests/deprecated/propertyUsage.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/propertyUsage.kt | 1 - .../tests/deprecated/propertyUseSiteTargetedAnnotations.kt | 1 - .../diagnostics/tests/deprecated/propertyWithInvoke.fir.kt | 1 - .../diagnostics/tests/deprecated/propertyWithInvoke.kt | 1 - compiler/testData/diagnostics/tests/deprecated/thisUsage.kt | 1 - compiler/testData/diagnostics/tests/deprecated/typeUsage.kt | 1 - .../diagnostics/tests/deprecated/typealiasCompanionObject.kt | 1 - .../diagnostics/tests/deprecated/typealiasConstructor.fir.kt | 2 -- .../diagnostics/tests/deprecated/typealiasConstructor.kt | 4 +--- .../tests/deprecated/typealiasForDeprecatedClass.fir.kt | 1 - .../tests/deprecated/typealiasForDeprecatedClass.kt | 1 - .../diagnostics/tests/deprecated/typealiasUsage.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/typealiasUsage.kt | 1 - .../testData/diagnostics/tests/deprecated/unusedImport.fir.kt | 1 - .../testData/diagnostics/tests/deprecated/unusedImport.kt | 1 - compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt | 1 - .../tests/deprecated/warningOnConstructorErrorOnClass.fir.kt | 1 - .../tests/deprecated/warningOnConstructorErrorOnClass.kt | 1 - .../diagnostics/tests/j+k/deprecations/forMixedOverride.kt | 1 - .../hiddenClass/deprecatedHiddenImportPriority.fir.kt | 1 - .../multimodule/hiddenClass/deprecatedHiddenImportPriority.kt | 1 - .../hiddenClass/deprecatedHiddenMultipleClasses.fir.kt | 1 - .../hiddenClass/deprecatedHiddenMultipleClasses.kt | 1 - .../topLevelFun/callableReferenceOnExpectFun.fir.kt | 1 - .../multiplatform/topLevelFun/callableReferenceOnExpectFun.kt | 1 - .../tests/operatorRem/resolveModIfRemIsHidden.fir.kt | 1 - .../diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt | 1 - compiler/testData/diagnostics/tests/privateInFile/kt12429.kt | 1 - .../diagnostics/tests/resolve/HiddenDeclarations.fir.kt | 1 - .../testData/diagnostics/tests/resolve/HiddenDeclarations.kt | 1 - .../tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt | 1 - .../tests/testsWithJava17/jvmRecord/disabledFeature.kt | 1 - .../testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt | 1 - .../testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt | 1 - .../testsWithStdLib/annotations/qualifiedCallValue.kt | 1 - .../testsWithStdLib/experimental/wasExperimental.fir.kt | 1 - .../testsWithStdLib/experimental/wasExperimental.kt | 1 - .../testData/diagnostics/status/simpleAnnotation.kt | 2 +- .../parcelize-compiler/testData/diagnostics/constructors.kt | 1 - .../parcelize-compiler/testData/diagnostics/customCreator.kt | 1 - .../testData/diagnostics/customParcelers.fir.kt | 1 - .../testData/diagnostics/customParcelers.kt | 1 - .../testData/diagnostics/customWriteToParcel.kt | 1 - .../parcelize-compiler/testData/diagnostics/delegate.kt | 1 - .../testData/diagnostics/deprecatedAnnotations.fir.kt | 1 - .../testData/diagnostics/deprecatedAnnotations.kt | 1 - .../testData/diagnostics/emptyPrimaryConstructor.kt | 1 - .../testData/diagnostics/ignoredOnParcelDefaultValues.kt | 1 - .../testData/diagnostics/ignoredOnParcelUnsupportedType.kt | 1 - .../parcelize-compiler/testData/diagnostics/kt20062.kt | 1 - .../parcelize-compiler/testData/diagnostics/kt47074.kt | 1 - .../parcelize-compiler/testData/diagnostics/modality.fir.kt | 1 - .../parcelize-compiler/testData/diagnostics/modality.kt | 1 - .../parcelize-compiler/testData/diagnostics/properties.kt | 1 - .../parcelize-compiler/testData/diagnostics/simple.kt | 3 +-- .../testData/diagnostics/unsupportedType.kt | 1 - .../testData/diagnostics/withoutParcelableSupertype.kt | 1 - .../testData/diagnostics/wrongAnnotationTarget.kt | 1 - 115 files changed, 3 insertions(+), 119 deletions(-) diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt index 1f826fd1575..35d586bccdd 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_REFLECT import kotlin.reflect.KClass diff --git a/compiler/testData/diagnostics/nativeTests/throws.fir.kt b/compiler/testData/diagnostics/nativeTests/throws.fir.kt index 63c36fc76ec..b0b4579400f 100644 --- a/compiler/testData/diagnostics/nativeTests/throws.fir.kt +++ b/compiler/testData/diagnostics/nativeTests/throws.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: kotlin.kt package kotlin diff --git a/compiler/testData/diagnostics/nativeTests/throws.kt b/compiler/testData/diagnostics/nativeTests/throws.kt index a3a2fed2b70..0d7aa1bda12 100644 --- a/compiler/testData/diagnostics/nativeTests/throws.kt +++ b/compiler/testData/diagnostics/nativeTests/throws.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: kotlin.kt package kotlin diff --git a/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt b/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt index 264c7651f95..e7ffa029762 100644 --- a/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt +++ b/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER // FILE: throws.kt package kotlin diff --git a/compiler/testData/diagnostics/nativeTests/throwsClash.kt b/compiler/testData/diagnostics/nativeTests/throwsClash.kt index 2f36803355a..ddd25185404 100644 --- a/compiler/testData/diagnostics/nativeTests/throwsClash.kt +++ b/compiler/testData/diagnostics/nativeTests/throwsClash.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER // FILE: throws.kt package kotlin diff --git a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt index 46ece5b2a6a..e5a449e5afc 100644 --- a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt +++ b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS import java.util.ArrayList @ArrayList(1, 1) fun b() {} diff --git a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt index 4b3e51abc35..bc545469afc 100644 --- a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt +++ b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS import java.util.ArrayList @ArrayList(1, 1) fun b() {} diff --git a/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt b/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt index 1501ce7d652..9b92e5f2130 100644 --- a/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt +++ b/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt @@ -1,3 +1,2 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL annotation @java.lang.Deprecated class my diff --git a/compiler/testData/diagnostics/tests/annotations/Deprecated.kt b/compiler/testData/diagnostics/tests/annotations/Deprecated.kt index f0aa56be3b8..d5af5950778 100644 --- a/compiler/testData/diagnostics/tests/annotations/Deprecated.kt +++ b/compiler/testData/diagnostics/tests/annotations/Deprecated.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL import java.lang.Deprecated as deprecated diff --git a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt index 6e5f17b189a..0a4afb2f96d 100644 --- a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL @Deprecated("text") annotation class obsolete() diff --git a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt index 2e58e391aad..f6137a26644 100644 --- a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS class C { val v1: String @Deprecated("", level = DeprecationLevel.HIDDEN) diff --git a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt index 9281060a9d0..325e585b60d 100644 --- a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt +++ b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS class C { val v1: String @Deprecated("", level = DeprecationLevel.HIDDEN) diff --git a/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt b/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt index 12ab5d77758..fd12fed2b14 100644 --- a/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt +++ b/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class A { @Deprecated("deprecated") companion object diff --git a/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt b/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt index 221d5de847b..7c900ec45b0 100644 --- a/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class Another { @Deprecated("Object") diff --git a/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt b/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt index 640ed275f0f..a5c9bb6e78e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE class Data { diff --git a/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt b/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt index 58ce81aaf5a..8e2ae53b4c5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE class Data { diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt index 155d754aa3d..c67b14dce70 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // ISSUE: KT-54209 diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt index 9c52a242a99..e6cc3055424 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt index 6f44c171c36..a1dc23f49b9 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER @Deprecated("alas", level = DeprecationLevel.ERROR) diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt index 7eadf780a2e..ca76f961bf1 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER class Table diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt index 4faac91be34..5a615ae1360 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt index 7c777bc7346..719da4f0921 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_EXPRESSION diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt index 1038f9fcb50..765581922b7 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: +StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt index 16719056d69..8f1217de3c0 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: +StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt index afa2c87971f..44193d7f394 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: -StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt index e809fe0034d..47f9db76fed 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: -StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt index 18e0324903b..2ae2bf5793b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: +StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt index 054fb132ffa..182584ab6f1 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: +StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt index e7f778e134a..794afeebeb6 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: -StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt index a1df80bf3c5..575ab135398 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // LANGUAGE: -StopPropagatingDeprecationThroughOverrides package foo diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt index 2ff50772977..a430f7245bd 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package kotlin @Deprecated("") diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt index 933da40d939..24f3e5a1fdb 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package kotlin @Deprecated("") diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt index e9efdd2cb8e..9a375e6471a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC package kotlin.sub diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt index 5d3b854e7ec..da3349e7215 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC package kotlin.sub diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt index e19e145ff2b..abd328b3353 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // ALLOW_KOTLIN_PACKAGE // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_EXPRESSION diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt index c67717c1a93..37880e47a62 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package foo.bar diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt index 4897c79028a..b0169365a5a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ALLOW_KOTLIN_PACKAGE package kotlin diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt index 1ebb927b834..6e5e1dcd389 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ALLOW_KOTLIN_PACKAGE package kotlin diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt index 07e04fdc249..87c8456ba36 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !API_VERSION: 1.4 // ALLOW_KOTLIN_PACKAGE diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt index 5bfb729beab..6e6bc4711f6 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !API_VERSION: 1.4 // ALLOW_KOTLIN_PACKAGE diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt index 789a571aa44..d42b568099f 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ALLOW_KOTLIN_PACKAGE package kotlin diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt index 4364466180f..812d972914e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ALLOW_KOTLIN_PACKAGE package kotlin diff --git a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt index b98f464428c..9c41b0ca7ac 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // ALLOW_KOTLIN_PACKAGE // !API_VERSION: 1.4 diff --git a/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt b/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt index 2e9959cd988..242093efcb5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt +++ b/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // ISSUE: KT-51893 diff --git a/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt b/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt index 855ee28df08..58267f389b9 100644 --- a/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_EXPRESSION diff --git a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt index b05231f9b7e..51c43c5b11c 100644 --- a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION, -UNUSED_PARAMETER open class C() { diff --git a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt index 4c51c986026..5c084c26a0f 100644 --- a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION, -UNUSED_PARAMETER open class C() { diff --git a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt index 50e107dd6f6..1bfece0cdfb 100644 --- a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS val v1: String @Deprecated("", level = DeprecationLevel.HIDDEN) get() = "" diff --git a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt index 24360ec306a..a47332edf1c 100644 --- a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt +++ b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS val v1: String @Deprecated("", level = DeprecationLevel.HIDDEN) get() = "" diff --git a/compiler/testData/diagnostics/tests/deprecated/imports.kt b/compiler/testData/diagnostics/tests/deprecated/imports.kt index 8377e8fc8a9..cfaee1810ac 100644 --- a/compiler/testData/diagnostics/tests/deprecated/imports.kt +++ b/compiler/testData/diagnostics/tests/deprecated/imports.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL import C as C2 diff --git a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt index f2df0d0e056..7f6615b6ab5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS class Iter { @Deprecated("text") operator fun iterator() : IterIterator = throw Exception() diff --git a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt index 6884dfcde77..26051b639e5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS class Iter { @Deprecated("text") operator fun iterator() : IterIterator = throw Exception() diff --git a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt index 92c343c8356..c5a0270c50e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt index 184a6748a97..e5f2771f5bc 100644 --- a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt +++ b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -NO_VALUE_FOR_PARAMETER // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt b/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt index c8727cec585..9b7f3242a6a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class TopLevel { @Deprecated("Nested") diff --git a/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt b/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt index 056f2bc4a64..48663226082 100644 --- a/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL @Deprecated("Object") object Obsolete { diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt index 80f7b39a83a..13f222ebd67 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION import kotlin.reflect.KProperty diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt index db6a4211098..ae9233a2f37 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION import kotlin.reflect.KProperty diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt b/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt index 642ee54f7f2..a9def444d53 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_EXPRESSION diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt index e8752de9836..c5f23583e4b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("No") val f: () -> Unit = {} diff --git a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt index 4642016aaa6..ab47cb7b253 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("No") val f: () -> Unit = {} diff --git a/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt b/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt index 4e25f7bf79a..a017cd364be 100644 --- a/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt b/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt index 21120a3c59c..c2534d46451 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL @Deprecated("Class") open class Obsolete { diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt index dc580c476bf..f1fdbaae7e8 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class Relevant { companion object { diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt index 87b9645cd02..4b5948dbfd1 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt @@ -1,5 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("Deprecated class") open class DeprecatedClass diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt index f2f022f84e0..f597f4f7cb4 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt @@ -1,5 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("Deprecated class") open class DeprecatedClass @@ -16,4 +14,4 @@ class Test1 : DeprecatedClassAlias() class Test2 : WithDeprecatedCtorAlias() -val test3 = ArrayListOfDeprecatedClass() \ No newline at end of file +val test3 = ArrayListOfDeprecatedClass() diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt index 249ef84b8b5..a446443791a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("") class Foo diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt index 1c63f4d0657..45454cd459c 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("") class Foo diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt index 659bbc500d3..9aa8d3c4009 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class Base { companion object } diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt index edad95cc613..a679866e2c6 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class Base { companion object } diff --git a/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt b/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt index 61339792d51..4a8f6991a01 100644 --- a/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: A.kt package test diff --git a/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt b/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt index c305a404965..0263fbf30e1 100644 --- a/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt +++ b/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: A.kt package test diff --git a/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt b/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt index eb8bc525f12..43cb5cea32a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt +++ b/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // LANGUAGE: +NoDeprecationOnDeprecatedEnumEntries // ISSUE: KT-37975 diff --git a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt index 9ceef4627ed..664d2389f06 100644 --- a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // KT-15245 Report deprecation on associated declarations if level is greater than the deprecation on the declaration itself @Deprecated("error", level = DeprecationLevel.ERROR) diff --git a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt index 8b251098eef..0660c859e58 100644 --- a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt +++ b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // KT-15245 Report deprecation on associated declarations if level is greater than the deprecation on the declaration itself @Deprecated("error", level = DeprecationLevel.ERROR) diff --git a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt index 41e94a841a4..77b5fd0feaa 100644 --- a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt +++ b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: J.java public class J { diff --git a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt index 7602c47db22..e6229f7a115 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt index 7904dcdaa0b..3b4ecd64b6f 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt index d3fa31124d1..ee8b6c69fec 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt index a69a3582454..77377b92e2e 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt index 1e1eea504d6..a1ccd06a875 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1-common // FILE: common.kt diff --git a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt index 6c9101c7f02..e1b5b8ba1b8 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1-common // FILE: common.kt diff --git a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt index 29f164fdb62..4cfc5ba4e02 100644 --- a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt +++ b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProhibitOperatorMod // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt index 0eac4f3acf2..94ca4b1be82 100644 --- a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt +++ b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProhibitOperatorMod // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt b/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt index 423687f7570..1be7c68958b 100644 --- a/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt +++ b/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL private const val a = "" diff --git a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt index 1a4be16bbdd..978a6ab119c 100644 --- a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt +++ b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test // imports should be resolved diff --git a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt index 441d69bea80..13e31466c9a 100644 --- a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt +++ b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test // imports should be resolved diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt index 8e4fe958b34..b7144e1d012 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.5 // !LANGUAGE: -JvmRecordSupport // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt index 52124f4b8a2..c518c1bcecc 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.5 // !LANGUAGE: -JvmRecordSupport // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt index f1cc81af567..c49a02eb691 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +JvmRecordSupport // !API_VERSION: 1.5 // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt index 2a07bceaae4..9b419f6224d 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +JvmRecordSupport // !API_VERSION: 1.5 // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt index 172061adc7a..269e25b4c69 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -JAVA_LANG_CLASS_PARAMETER_IN_ANNOTATION package a.b.c diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt index e4a6acbd670..5e791cd8b58 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.3 // !OPT_IN: kotlin.RequiresOptIn // !DIAGNOSTICS: -INVISIBLE_MEMBER -INVISIBLE_REFERENCE -NEWER_VERSION_IN_SINCE_KOTLIN -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt index 2f20eb5d1a5..76e67503d20 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.3 // !OPT_IN: kotlin.RequiresOptIn // !DIAGNOSTICS: -INVISIBLE_MEMBER -INVISIBLE_REFERENCE -NEWER_VERSION_IN_SINCE_KOTLIN -UNUSED_PARAMETER diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt b/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt index 5599716ed02..12a21bb21c6 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt @@ -12,4 +12,4 @@ class B : A() { override fun foo() { } -} \ No newline at end of file +} diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt index c23638513db..d86fc86d39f 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt index a1d839a565a..c07e2aae632 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt index 0c945ff99c4..bca096f35d5 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt index 66446e0acf9..e55bde21969 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt index 434f061a25f..a624a0a2ddd 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt index 92f42d4b675..9d0c49d878d 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt index 9236e533f2d..3d7a333fdc7 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt index e4e6c414ff2..34a8b1d4822 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt index a05f7236599..f5da895a7f2 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt index ae50f9046ca..9da43785b1a 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt index 97949c6c8de..88167d57761 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt index 08a1e1ca2b3..198d8cba6e4 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt index 0df2698830e..5ea634efa55 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // ISSUE: KT-47074 diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt index 1b1ee42a999..2d8e453a6f2 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test import kotlinx.parcelize.Parcelize diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt index aff8713db08..38441e5314e 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test import kotlinx.parcelize.Parcelize diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt index 363cbd672cb..7accf7d15dc 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt index 99eabfb91d5..6c6dbce33df 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test @@ -6,4 +5,4 @@ import kotlinx.parcelize.Parcelize import android.os.Parcelable @Parcelize -class User(val firstName: String, val secondName: String, val age: Int) : Parcelable \ No newline at end of file +class User(val firstName: String, val secondName: String, val age: Int) : Parcelable diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt index aa04e30bbfd..56b5288b25a 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt index 2d6640643a3..e645a745617 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt index c08a167841f..03c50ceb188 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt @@ -1,4 +1,3 @@ -// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test