diff --git a/compiler/fir/analysis-tests/testData/resolve/bareTypes2.kt b/compiler/fir/analysis-tests/testData/resolve/bareTypes2.kt index 4193632c6b6..2bd0fc4cc96 100644 --- a/compiler/fir/analysis-tests/testData/resolve/bareTypes2.kt +++ b/compiler/fir/analysis-tests/testData/resolve/bareTypes2.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface A> { fun foo(): Any diff --git a/compiler/fir/analysis-tests/testData/resolve/delegatedSuperType.kt b/compiler/fir/analysis-tests/testData/resolve/delegatedSuperType.kt index 99ab71bd47a..1e2b42f02eb 100644 --- a/compiler/fir/analysis-tests/testData/resolve/delegatedSuperType.kt +++ b/compiler/fir/analysis-tests/testData/resolve/delegatedSuperType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface A { fun foo() } diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/delegationInInterface.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/delegationInInterface.kt index e334de22256..b1caf67c51a 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/delegationInInterface.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/delegationInInterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class A interface B : A by a { diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/propertyTypeMismatchOnOverride.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/propertyTypeMismatchOnOverride.kt index 85502ea44e4..88391e35e88 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/propertyTypeMismatchOnOverride.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/propertyTypeMismatchOnOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class A { open var test: Number = 10 } diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/qualifiedSupertypeExtendedByOtherSupertype.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/qualifiedSupertypeExtendedByOtherSupertype.kt index 9904db411ba..d79dd7b3206 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/qualifiedSupertypeExtendedByOtherSupertype.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/qualifiedSupertypeExtendedByOtherSupertype.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -QualifiedSupertypeMayBeExtendedByOtherSupertype interface IBase { fun foo() {} diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.kt index 7958db93c98..d318a784949 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/returnTypeMismatchOnOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class A { open fun test(): Number = 10 } diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/someOverridesTest.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/someOverridesTest.kt index 8ab1ba0beca..8e37f2b158b 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/someOverridesTest.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/someOverridesTest.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class A open class B : A() diff --git a/compiler/fir/analysis-tests/testData/resolve/diagnostics/superCallWithDelegation.kt b/compiler/fir/analysis-tests/testData/resolve/diagnostics/superCallWithDelegation.kt index 17772e48f74..e43653568a4 100644 --- a/compiler/fir/analysis-tests/testData/resolve/diagnostics/superCallWithDelegation.kt +++ b/compiler/fir/analysis-tests/testData/resolve/diagnostics/superCallWithDelegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface A { fun foo() } diff --git a/compiler/fir/analysis-tests/testData/resolve/expresssions/genericDecorator.kt b/compiler/fir/analysis-tests/testData/resolve/expresssions/genericDecorator.kt index fef9fba118d..8e770c852d1 100644 --- a/compiler/fir/analysis-tests/testData/resolve/expresssions/genericDecorator.kt +++ b/compiler/fir/analysis-tests/testData/resolve/expresssions/genericDecorator.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: LookupElement.java public abstract class LookupElement { diff --git a/compiler/fir/analysis-tests/testData/resolve/expresssions/genericPropertyAccess.kt b/compiler/fir/analysis-tests/testData/resolve/expresssions/genericPropertyAccess.kt index 607833a6d85..aa464c2b84d 100644 --- a/compiler/fir/analysis-tests/testData/resolve/expresssions/genericPropertyAccess.kt +++ b/compiler/fir/analysis-tests/testData/resolve/expresssions/genericPropertyAccess.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS abstract class Base(val x: T) { abstract fun foo(): T } diff --git a/compiler/fir/analysis-tests/testData/resolve/expresssions/protectedVisibility.kt b/compiler/fir/analysis-tests/testData/resolve/expresssions/protectedVisibility.kt index b848c930480..b834e6ab1cf 100644 --- a/compiler/fir/analysis-tests/testData/resolve/expresssions/protectedVisibility.kt +++ b/compiler/fir/analysis-tests/testData/resolve/expresssions/protectedVisibility.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class Protected { protected fun bar() {} diff --git a/compiler/fir/analysis-tests/testData/resolve/fromBuilder/typeParameters.kt b/compiler/fir/analysis-tests/testData/resolve/fromBuilder/typeParameters.kt index e1b2b3f3043..9529ccee571 100644 --- a/compiler/fir/analysis-tests/testData/resolve/fromBuilder/typeParameters.kt +++ b/compiler/fir/analysis-tests/testData/resolve/fromBuilder/typeParameters.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface List { operator fun get(index: Int): T diff --git a/compiler/fir/analysis-tests/testData/resolve/inlineClasses/inlineClassDeclaration.kt b/compiler/fir/analysis-tests/testData/resolve/inlineClasses/inlineClassDeclaration.kt index 2eaf0123aa2..7e646a2126e 100644 --- a/compiler/fir/analysis-tests/testData/resolve/inlineClasses/inlineClassDeclaration.kt +++ b/compiler/fir/analysis-tests/testData/resolve/inlineClasses/inlineClassDeclaration.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_EXTENDED_CHECKERS class A { inline inner class B(val x: Int) diff --git a/compiler/fir/analysis-tests/testData/resolve/kt41984.kt b/compiler/fir/analysis-tests/testData/resolve/kt41984.kt index 0f5e9a66823..fc1233fc68e 100644 --- a/compiler/fir/analysis-tests/testData/resolve/kt41984.kt +++ b/compiler/fir/analysis-tests/testData/resolve/kt41984.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ISSUE: KT-41984 // FILE: A.java diff --git a/compiler/fir/analysis-tests/testData/resolve/lambdaArgInScopeFunction.kt b/compiler/fir/analysis-tests/testData/resolve/lambdaArgInScopeFunction.kt index 2e207ca3838..e396b7738dd 100644 --- a/compiler/fir/analysis-tests/testData/resolve/lambdaArgInScopeFunction.kt +++ b/compiler/fir/analysis-tests/testData/resolve/lambdaArgInScopeFunction.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // ISSUE: KT-37070 diff --git a/compiler/fir/analysis-tests/testData/resolve/lambdaPropertyTypeInference.kt b/compiler/fir/analysis-tests/testData/resolve/lambdaPropertyTypeInference.kt index f69c1b469b6..bbbf9c8df8a 100644 --- a/compiler/fir/analysis-tests/testData/resolve/lambdaPropertyTypeInference.kt +++ b/compiler/fir/analysis-tests/testData/resolve/lambdaPropertyTypeInference.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // UNEXPECTED BEHAVIOUR // ISSUES: KT-37066 diff --git a/compiler/fir/analysis-tests/testData/resolve/problems/compilerPhase.kt b/compiler/fir/analysis-tests/testData/resolve/problems/compilerPhase.kt index 51d7d2de5be..4a7efc73e88 100644 --- a/compiler/fir/analysis-tests/testData/resolve/problems/compilerPhase.kt +++ b/compiler/fir/analysis-tests/testData/resolve/problems/compilerPhase.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface CommonBackendContext interface PhaserState { diff --git a/compiler/fir/analysis-tests/testData/resolve/problems/doubleGenericDiamond.kt b/compiler/fir/analysis-tests/testData/resolve/problems/doubleGenericDiamond.kt index 4aa96e91fb7..fecfb4c098b 100644 --- a/compiler/fir/analysis-tests/testData/resolve/problems/doubleGenericDiamond.kt +++ b/compiler/fir/analysis-tests/testData/resolve/problems/doubleGenericDiamond.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface Left interface Right class Bottom : Left, Right diff --git a/compiler/fir/analysis-tests/testData/resolve/problems/transform.kt b/compiler/fir/analysis-tests/testData/resolve/problems/transform.kt index a87acd4fd3e..b12317be858 100644 --- a/compiler/fir/analysis-tests/testData/resolve/problems/transform.kt +++ b/compiler/fir/analysis-tests/testData/resolve/problems/transform.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface FirElement { fun accept(visitor: FirVisitor, data: D): R diff --git a/compiler/fir/analysis-tests/testData/resolve/properties/javaAccessorsComplex.kt b/compiler/fir/analysis-tests/testData/resolve/properties/javaAccessorsComplex.kt index deabe8d254f..3e7eaf4feb5 100644 --- a/compiler/fir/analysis-tests/testData/resolve/properties/javaAccessorsComplex.kt +++ b/compiler/fir/analysis-tests/testData/resolve/properties/javaAccessorsComplex.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: JA.java public interface JA { public E getFoo(); diff --git a/compiler/fir/analysis-tests/testData/resolve/scopes/publicJavaAndPrivateKotlinVar.kt b/compiler/fir/analysis-tests/testData/resolve/scopes/publicJavaAndPrivateKotlinVar.kt index 7d1ae513d17..2c90cca5791 100644 --- a/compiler/fir/analysis-tests/testData/resolve/scopes/publicJavaAndPrivateKotlinVar.kt +++ b/compiler/fir/analysis-tests/testData/resolve/scopes/publicJavaAndPrivateKotlinVar.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // SCOPE_DUMP: C:getName;setName;name, D:getName;setName;name // FILE: A.java public interface A { diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/functionX.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/functionX.kt index b31c74a9183..67e7eab6796 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/functionX.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/functionX.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_EXTENDED_CHECKERS import kotlin.jvm.functions.Function0 diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/hashTableWithForEach.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/hashTableWithForEach.kt index 8b4584fb4e7..d50c3e2afdd 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/hashTableWithForEach.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/hashTableWithForEach.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FULL_JDK import java.util.* import java.util.function.BiConsumer diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/EnumWithToString.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/EnumWithToString.kt index e8a09b34c7b..eb96428cb9e 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/EnumWithToString.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/EnumWithToString.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS enum class Some { ENTRY { override fun toString(): String = "Entry" diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt index 35d586bccdd..1f826fd1575 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/arrayOfImports.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_REFLECT import kotlin.reflect.KClass diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/baseIntrospector.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/baseIntrospector.kt index ef9358549c6..9739dacb343 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/baseIntrospector.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/intellij/baseIntrospector.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: m1.kt diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/JavaInheritsRawKotlin.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/JavaInheritsRawKotlin.kt index 7468a3faa84..23f737e6189 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/JavaInheritsRawKotlin.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/JavaInheritsRawKotlin.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: Derived.kt class Derived : Some() diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/smartSet.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/smartSet.kt index fa730ad2897..27c3246041f 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/smartSet.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/j+k/smartSet.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import java.util.AbstractSet class SmartSet : AbstractSet() { diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule/FakeOverrides.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule/FakeOverrides.kt index 21388fc95bc..e4117cf2421 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule/FakeOverrides.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule/FakeOverrides.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +MultiPlatformProjects // MODULE: m1-common // FILE: common.kt diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/AbstractToolConfig.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/AbstractToolConfig.kt index 5df2feb67fb..cc4c1d6086f 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/AbstractToolConfig.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/AbstractToolConfig.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: AbstractToolConfig.kt abstract class AbstractToolConfig { diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/WithValidityAssertion.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/WithValidityAssertion.kt index 5db0f6ebbb2..9edc939d9e0 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/WithValidityAssertion.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/WithValidityAssertion.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import kotlin.reflect.KProperty import kotlin.properties.ReadOnlyProperty diff --git a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/lightMember.kt b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/lightMember.kt index 17c055fd5c6..ed108f6b9a6 100644 --- a/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/lightMember.kt +++ b/compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/lightMember.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface PsiMember interface PsiField : PsiMember diff --git a/compiler/testData/diagnostics/nativeTests/throws.fir.kt b/compiler/testData/diagnostics/nativeTests/throws.fir.kt index b0b4579400f..63c36fc76ec 100644 --- a/compiler/testData/diagnostics/nativeTests/throws.fir.kt +++ b/compiler/testData/diagnostics/nativeTests/throws.fir.kt @@ -1,3 +1,4 @@ +// 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 0d7aa1bda12..a3a2fed2b70 100644 --- a/compiler/testData/diagnostics/nativeTests/throws.kt +++ b/compiler/testData/diagnostics/nativeTests/throws.kt @@ -1,3 +1,4 @@ +// 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 e7ffa029762..264c7651f95 100644 --- a/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt +++ b/compiler/testData/diagnostics/nativeTests/throwsClash.fir.kt @@ -1,3 +1,4 @@ +// 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 ddd25185404..2f36803355a 100644 --- a/compiler/testData/diagnostics/nativeTests/throwsClash.kt +++ b/compiler/testData/diagnostics/nativeTests/throwsClash.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER // FILE: throws.kt package kotlin diff --git a/compiler/testData/diagnostics/tests/CovariantOverrideType.kt b/compiler/testData/diagnostics/tests/CovariantOverrideType.kt index 8cc69aadb01..44eb336850d 100644 --- a/compiler/testData/diagnostics/tests/CovariantOverrideType.kt +++ b/compiler/testData/diagnostics/tests/CovariantOverrideType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface A { fun foo() : Int = 1 diff --git a/compiler/testData/diagnostics/tests/DefaultValueForParameterInFunctionType.kt b/compiler/testData/diagnostics/tests/DefaultValueForParameterInFunctionType.kt index 77169ad008c..2c6112adc96 100644 --- a/compiler/testData/diagnostics/tests/DefaultValueForParameterInFunctionType.kt +++ b/compiler/testData/diagnostics/tests/DefaultValueForParameterInFunctionType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/EnumEntryAsType.fir.kt b/compiler/testData/diagnostics/tests/EnumEntryAsType.fir.kt index edfdff53079..5600c7ebade 100644 --- a/compiler/testData/diagnostics/tests/EnumEntryAsType.fir.kt +++ b/compiler/testData/diagnostics/tests/EnumEntryAsType.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER enum class Color { diff --git a/compiler/testData/diagnostics/tests/EnumEntryAsType.kt b/compiler/testData/diagnostics/tests/EnumEntryAsType.kt index eafd23d7bc7..aeef57ea43b 100644 --- a/compiler/testData/diagnostics/tests/EnumEntryAsType.kt +++ b/compiler/testData/diagnostics/tests/EnumEntryAsType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER enum class Color { diff --git a/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.fir.kt b/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.fir.kt index 76b787ffc75..0fdae77c055 100644 --- a/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.fir.kt +++ b/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS abstract class A : Function1 abstract class B : (Int)->Unit diff --git a/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt b/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt index c9567ff0765..f1340b24fb1 100644 --- a/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt +++ b/compiler/testData/diagnostics/tests/NamedFunctionTypeParameterInSupertype.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS abstract class A : Function1 abstract class B : (Int)->Unit diff --git a/compiler/testData/diagnostics/tests/OverridenFunctionAndSpecifiedTypeParameter.kt b/compiler/testData/diagnostics/tests/OverridenFunctionAndSpecifiedTypeParameter.kt index 6ee54b7a688..71e0cfae9a5 100644 --- a/compiler/testData/diagnostics/tests/OverridenFunctionAndSpecifiedTypeParameter.kt +++ b/compiler/testData/diagnostics/tests/OverridenFunctionAndSpecifiedTypeParameter.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface Aaa { diff --git a/compiler/testData/diagnostics/tests/PackageQualified.fir.kt b/compiler/testData/diagnostics/tests/PackageQualified.fir.kt index 07788fdd66b..1827d6b763f 100644 --- a/compiler/testData/diagnostics/tests/PackageQualified.fir.kt +++ b/compiler/testData/diagnostics/tests/PackageQualified.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_EXTENDED_CHECKERS // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/PackageQualified.kt b/compiler/testData/diagnostics/tests/PackageQualified.kt index b01ed8e3902..f074003af51 100644 --- a/compiler/testData/diagnostics/tests/PackageQualified.kt +++ b/compiler/testData/diagnostics/tests/PackageQualified.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_EXTENDED_CHECKERS // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/PrimaryConstructors.kt b/compiler/testData/diagnostics/tests/PrimaryConstructors.kt index 95ebaec5e71..c293cc03d59 100644 --- a/compiler/testData/diagnostics/tests/PrimaryConstructors.kt +++ b/compiler/testData/diagnostics/tests/PrimaryConstructors.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class X { val x : Int diff --git a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt index e5a449e5afc..46ece5b2a6a 100644 --- a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt +++ b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.fir.kt @@ -1,3 +1,4 @@ +// 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 bc545469afc..4b3e51abc35 100644 --- a/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt +++ b/compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt @@ -1,3 +1,4 @@ +// 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 9b92e5f2130..1501ce7d652 100644 --- a/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt +++ b/compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt @@ -1,2 +1,3 @@ +// 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 d5af5950778..f0aa56be3b8 100644 --- a/compiler/testData/diagnostics/tests/annotations/Deprecated.kt +++ b/compiler/testData/diagnostics/tests/annotations/Deprecated.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL import java.lang.Deprecated as deprecated diff --git a/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.fir.kt b/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.fir.kt index d3d97bf937f..87cea384606 100644 --- a/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.fir.kt +++ b/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE annotation class Ann diff --git a/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.kt b/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.kt index 40b059b4ffe..56967abfcb0 100644 --- a/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.kt +++ b/compiler/testData/diagnostics/tests/annotations/annotationOnParameterInFunctionType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE annotation class Ann diff --git a/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.fir.kt b/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.fir.kt index 9ac88ba867c..49a3652be30 100644 --- a/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.fir.kt +++ b/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !RENDER_DIAGNOSTICS_MESSAGES @Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY) diff --git a/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.kt b/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.kt index 16822811ff4..426cd155979 100644 --- a/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.kt +++ b/compiler/testData/diagnostics/tests/annotations/rendering/notImplementedMembers.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !RENDER_DIAGNOSTICS_MESSAGES @Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY) diff --git a/compiler/testData/diagnostics/tests/callableReference/property/propertyFromAbstractSuperClass.kt b/compiler/testData/diagnostics/tests/callableReference/property/propertyFromAbstractSuperClass.kt index a414a73665c..578a5372bf3 100644 --- a/compiler/testData/diagnostics/tests/callableReference/property/propertyFromAbstractSuperClass.kt +++ b/compiler/testData/diagnostics/tests/callableReference/property/propertyFromAbstractSuperClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL import kotlin.reflect.KMutableProperty0 diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.fir.kt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.fir.kt index 86a5ffa4a4d..82e6d487e3b 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.fir.kt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: a.kt package test diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.kt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.kt index 2781feefe37..02f435af854 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.kt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: a.kt package test diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.fir.kt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.fir.kt index 2a0bfcee7ae..16b33cd7680 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.fir.kt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // See KT-15566 // NI_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.kt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.kt index a2c58cd474c..b579b6e4e2f 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.kt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldAsClassDelegate.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // See KT-15566 // NI_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/controlStructures/kt30406.fir.kt b/compiler/testData/diagnostics/tests/controlStructures/kt30406.fir.kt index 05c1456d1c8..0c0436e2322 100644 --- a/compiler/testData/diagnostics/tests/controlStructures/kt30406.fir.kt +++ b/compiler/testData/diagnostics/tests/controlStructures/kt30406.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // !CHECK_TYPE // Issue: KT-30406 diff --git a/compiler/testData/diagnostics/tests/controlStructures/kt30406.kt b/compiler/testData/diagnostics/tests/controlStructures/kt30406.kt index 2bbfc21d256..52c0e6b17e9 100644 --- a/compiler/testData/diagnostics/tests/controlStructures/kt30406.kt +++ b/compiler/testData/diagnostics/tests/controlStructures/kt30406.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // !CHECK_TYPE // Issue: KT-30406 diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt index 4ba387ac1c8..7556c2f4450 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt index a8e304860bf..e7c029a7f50 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt index 1a44e0821b3..aef28c0cc11 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt index 699573e7413..ccfbc33c8d7 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt index 02735fe5e92..545a221f1ad 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt index f780e12b114..aed443815e0 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt index 4b04fe2c5d4..2f2ea4e29e2 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt index 9bd3a1d012d..026f9933bf6 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS, -ABSTRACT_MEMBER_NOT_IMPLEMENTED, -ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/simple.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/simple.kt index eaa7bae4095..f0d0b055118 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/simple.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/kSuspendFunctionN/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.fir.kt index 2e2ee9204f2..7c7af180574 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.kt index 19297601685..78aa580ecf9 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypes.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt index e15c72476c6..fe17707965b 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt index 551de20be71..2b499a50b63 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt index 56378c72681..39d6dbb45e6 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt index 2166de80679..b650c944c84 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt index ba3919175ab..2866350d1e0 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt index 09f6919ce92..75efee5d602 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/simple.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/simple.kt index fffdf30554f..e67db834c96 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/simple.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/simple/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt index 6d87b464d77..a5f63bb3a4e 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt index 0feff2d10ff..7840d5ce36b 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypes.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt index a0fd4837d67..00bd824515c 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt index 59556d8ed4c..666eb752c59 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt index a13f5f0ce62..85dc68b5023 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt index 8272c7b6961..4b499010734 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperFunInterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt index 09e83a5b688..964f4d9edda 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt index 5894ad8c6b9..bb582ba47cb 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/mixingSuspendAndNonSuspendSupertypesThruSuperinterface.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT // DIAGNOSTICS: -CONFLICTING_INHERITED_MEMBERS, -CONFLICTING_OVERLOADS diff --git a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/simple.kt b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/simple.kt index 26961e5a2cd..e658b47fb69 100644 --- a/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/simple.kt +++ b/compiler/testData/diagnostics/tests/coroutines/suspendFunctionAsSupertype/suspendFunctionN/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +SuspendFunctionAsSupertype // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.fir.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.fir.kt index f73857723f6..6b963835d4c 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.fir.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.kt index 79225b459bf..a5a5729bcfe 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyNoDefaults.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.fir.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.fir.kt index 4e62292ae3a..3ba89221e8a 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.fir.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.kt index 1935d97c2bc..7ec7298aa62 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassExplicitlyOverridingCopyWithDefaults.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassNotOverridingCopy.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassNotOverridingCopy.kt index bbd4612a078..20e1fe071ce 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassNotOverridingCopy.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassNotOverridingCopy.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +ProhibitDataClassesOverridingCopy diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.fir.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.fir.kt index 725649fc673..341e6f4d571 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.fir.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.kt index 5fdd26cd936..e7713846579 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv12.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.fir.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.fir.kt index 78bbb6acfc6..5fa21993526 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.fir.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.kt b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.kt index f36af1d1c0a..ae6c3e2cf63 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.kt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassOverridingCopy_lv13.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProhibitDataClassesOverridingCopy interface WithCopy { diff --git a/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.fir.kt b/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.fir.kt index 48fa31cfc5c..11577be6c5f 100644 --- a/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.fir.kt +++ b/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: A.java public class A {} diff --git a/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.kt b/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.kt index 4975f00c566..86dad51cbd7 100644 --- a/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.kt +++ b/compiler/testData/diagnostics/tests/declarationChecks/finiteBoundRestriction/JavaSuperType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: A.java public class A {} diff --git a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.fir.kt b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.fir.kt index 0725609927f..24d814105da 100644 --- a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.fir.kt +++ b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt index 771f146ceaf..153b85f66ca 100644 --- a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt +++ b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/kt38714.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.fir.kt b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.fir.kt index deea7214238..b2e54cfe3e0 100644 --- a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.fir.kt +++ b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER // WITH_STDLIB diff --git a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.kt b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.kt index e291a369a4e..c57ae04a4dd 100644 --- a/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.kt +++ b/compiler/testData/diagnostics/tests/delegatedProperty/provideDelegate/provideDelegateOnFunctionalTypeWithThis.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER // WITH_STDLIB diff --git a/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.fir.kt b/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.fir.kt index 90af868e24d..cac228b1252 100644 --- a/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface A { diff --git a/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.kt b/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.kt index 249b8dac609..4cb0400c3a3 100644 --- a/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.kt +++ b/compiler/testData/diagnostics/tests/delegation/DelegationExpectedType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface A { diff --git a/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.fir.kt b/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.fir.kt index 6d3e8e4011f..0423d20f468 100644 --- a/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -CONFLICTING_JVM_DECLARATIONS interface One { public fun foo(): Any? diff --git a/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.kt b/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.kt index 50e1c698178..11caef27669 100644 --- a/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.kt +++ b/compiler/testData/diagnostics/tests/delegation/Delegation_ClashingFunctions.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -CONFLICTING_JVM_DECLARATIONS interface One { public fun foo(): Any? diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/finalMemberOverridden.kt b/compiler/testData/diagnostics/tests/delegation/clashes/finalMemberOverridden.kt index 36416cea52c..008f79a9d44 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/finalMemberOverridden.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/finalMemberOverridden.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL open class Final { fun foo() {} diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.fir.kt b/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.fir.kt index c54e8ff87bb..26581553b31 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IStr { val foo: String } diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.kt b/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.kt index 8318b2c5a67..8f565da3248 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/propertyTypeMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IStr { val foo: String } diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.fir.kt b/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.fir.kt index bc69e355a11..151aef0f561 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IStr { fun foo(): String } diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.kt b/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.kt index 61082322924..09599b455c6 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/returnTypeMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IStr { fun foo(): String } diff --git a/compiler/testData/diagnostics/tests/delegation/clashes/varOverriddenByVal.kt b/compiler/testData/diagnostics/tests/delegation/clashes/varOverriddenByVal.kt index a868064bb21..99efbc4607d 100644 --- a/compiler/testData/diagnostics/tests/delegation/clashes/varOverriddenByVal.kt +++ b/compiler/testData/diagnostics/tests/delegation/clashes/varOverriddenByVal.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface IVar { var foo: Int diff --git a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/fromClass.kt b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/fromClass.kt index 0a302ceb0d2..6e0f6eba58b 100644 --- a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/fromClass.kt +++ b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/fromClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface IBase1 { fun foo(): Any diff --git a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.fir.kt b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.fir.kt index 981e36d5e2a..06e9fc64335 100644 --- a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IBase1 { fun foo(): Any } diff --git a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.kt b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.kt index 0c3dc5f7016..ed7957591b9 100644 --- a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.kt +++ b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/irrelevant.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface IBase1 { fun foo(): Any } diff --git a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/kt13952.kt b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/kt13952.kt index 46c4446c8af..0df544e5111 100644 --- a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/kt13952.kt +++ b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/kt13952.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface IA { fun foo(): Number diff --git a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/simple.kt b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/simple.kt index f8754471299..17e8d118b17 100644 --- a/compiler/testData/diagnostics/tests/delegation/covariantOverrides/simple.kt +++ b/compiler/testData/diagnostics/tests/delegation/covariantOverrides/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface IBase1 { fun foo(): Any diff --git a/compiler/testData/diagnostics/tests/delegation/kt40510.fir.kt b/compiler/testData/diagnostics/tests/delegation/kt40510.fir.kt index 657ddc34f40..b3e486edc21 100644 --- a/compiler/testData/diagnostics/tests/delegation/kt40510.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/kt40510.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ISSUE: KT-40510 // FILE: foo/A.java diff --git a/compiler/testData/diagnostics/tests/delegation/kt40510.kt b/compiler/testData/diagnostics/tests/delegation/kt40510.kt index ca1dcd07848..a4eac73ad61 100644 --- a/compiler/testData/diagnostics/tests/delegation/kt40510.kt +++ b/compiler/testData/diagnostics/tests/delegation/kt40510.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // ISSUE: KT-40510 // FILE: foo/A.java diff --git a/compiler/testData/diagnostics/tests/delegation/kt44843.fir.kt b/compiler/testData/diagnostics/tests/delegation/kt44843.fir.kt index 153b3c1f2df..4f77ad1d8de 100644 --- a/compiler/testData/diagnostics/tests/delegation/kt44843.fir.kt +++ b/compiler/testData/diagnostics/tests/delegation/kt44843.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/diagnostics/tests/delegation/kt44843.kt b/compiler/testData/diagnostics/tests/delegation/kt44843.kt index 4a0a90db138..600ac9bba88 100644 --- a/compiler/testData/diagnostics/tests/delegation/kt44843.kt +++ b/compiler/testData/diagnostics/tests/delegation/kt44843.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // FILE: test.kt diff --git a/compiler/testData/diagnostics/tests/delegation/kt8154.kt b/compiler/testData/diagnostics/tests/delegation/kt8154.kt index 463c668f1bf..5f161ab9c5a 100644 --- a/compiler/testData/diagnostics/tests/delegation/kt8154.kt +++ b/compiler/testData/diagnostics/tests/delegation/kt8154.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface A { fun foo() diff --git a/compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride/simple.kt b/compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride/simple.kt index dc6006c8b5a..1e6a7dcdf86 100644 --- a/compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride/simple.kt +++ b/compiler/testData/diagnostics/tests/delegation/memberHidesSupertypeOverride/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL public interface Base { fun getValue(): String diff --git a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt index 0a4afb2f96d..6e5f17b189a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/annotationUsage.kt @@ -1,3 +1,4 @@ +// 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 f6137a26644..2e58e391aad 100644 --- a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.fir.kt @@ -1,3 +1,4 @@ +// 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 325e585b60d..9281060a9d0 100644 --- a/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt +++ b/compiler/testData/diagnostics/tests/deprecated/candidateBehindHiddenPropertyAccessors.kt @@ -1,3 +1,4 @@ +// 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 fd12fed2b14..12ab5d77758 100644 --- a/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt +++ b/compiler/testData/diagnostics/tests/deprecated/classWithCompanionObject.kt @@ -1,3 +1,4 @@ +// 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 7c900ec45b0..221d5de847b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/companionObjectUsage.kt @@ -1,3 +1,4 @@ +// 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 a5c9bb6e78e..640ed275f0f 100644 --- a/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/componentUsage.fir.kt @@ -1,3 +1,4 @@ +// 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 8e2ae53b4c5..58ce81aaf5a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/componentUsage.kt @@ -1,3 +1,4 @@ +// 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 c67b14dce70..155d754aa3d 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedCompanionAndClassReference.kt @@ -1,3 +1,4 @@ +// 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 e6cc3055424..9c52a242a99 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedConstructor.kt @@ -1,3 +1,4 @@ +// 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 a1dc23f49b9..6f44c171c36 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedError.kt @@ -1,3 +1,4 @@ +// 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 ca76f961bf1..7eadf780a2e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedErrorBuilder.kt @@ -1,3 +1,4 @@ +// 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 5a615ae1360..4faac91be34 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedHidden.kt @@ -1,3 +1,4 @@ +// 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 719da4f0921..7c777bc7346 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedHiddenOnCallableReferenceArgument.kt @@ -1,3 +1,4 @@ +// 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 765581922b7..1038f9fcb50 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.fir.kt @@ -1,3 +1,4 @@ +// 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 8f1217de3c0..16719056d69 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_after.kt @@ -1,3 +1,4 @@ +// 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 44193d7f394..afa2c87971f 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.fir.kt @@ -1,3 +1,4 @@ +// 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 47f9db76fed..e809fe0034d 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedInheritance_before.kt @@ -1,3 +1,4 @@ +// 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 2ae2bf5793b..18e0324903b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.fir.kt @@ -1,3 +1,4 @@ +// 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 182584ab6f1..054fb132ffa 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_after.kt @@ -1,3 +1,4 @@ +// 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 794afeebeb6..e7f778e134a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.fir.kt @@ -1,3 +1,4 @@ +// 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 575ab135398..a1df80bf3c5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt @@ -1,3 +1,4 @@ +// 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 a430f7245bd..2ff50772977 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.fir.kt @@ -1,3 +1,4 @@ +// 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 24f3e5a1fdb..933da40d939 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/checkValuesAreParseableAsVersion.kt @@ -1,3 +1,4 @@ +// 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 9a375e6471a..e9efdd2cb8e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.fir.kt @@ -1,3 +1,4 @@ +// 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 da3349e7215..5d3b854e7ec 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt @@ -1,3 +1,4 @@ +// 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 abd328b3353..e19e145ff2b 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinHiddenOnReferenceArgument.kt @@ -1,3 +1,4 @@ +// 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 37880e47a62..c67717c1a93 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt @@ -1,3 +1,4 @@ +// 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 b0169365a5a..4897c79028a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.fir.kt @@ -1,3 +1,4 @@ +// 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 6e5e1dcd389..1ebb927b834 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt @@ -1,3 +1,4 @@ +// 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 87c8456ba36..07e04fdc249 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/error.kt @@ -1,3 +1,4 @@ +// 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 6e6bc4711f6..5bfb729beab 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/hidden.kt @@ -1,3 +1,4 @@ +// 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 d42b568099f..789a571aa44 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.fir.kt @@ -1,3 +1,4 @@ +// 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 812d972914e..4364466180f 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/messageFromDeprecatedAnnotation.kt @@ -1,3 +1,4 @@ +// 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 9c41b0ca7ac..b98f464428c 100644 --- a/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt +++ b/compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/warning.kt @@ -1,3 +1,4 @@ +// 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 242093efcb5..2e9959cd988 100644 --- a/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt +++ b/compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt @@ -1,3 +1,4 @@ +// 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 58267f389b9..855ee28df08 100644 --- a/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/functionUsage.kt @@ -1,3 +1,4 @@ +// 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 51c43c5b11c..b05231f9b7e 100644 --- a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.fir.kt @@ -1,3 +1,4 @@ +// 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 5c084c26a0f..4c51c986026 100644 --- a/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/genericConstructorUsage.kt @@ -1,3 +1,4 @@ +// 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 1bfece0cdfb..50e107dd6f6 100644 --- a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.fir.kt @@ -1,3 +1,4 @@ +// 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 a47332edf1c..24360ec306a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt +++ b/compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt @@ -1,3 +1,4 @@ +// 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 cfaee1810ac..8377e8fc8a9 100644 --- a/compiler/testData/diagnostics/tests/deprecated/imports.kt +++ b/compiler/testData/diagnostics/tests/deprecated/imports.kt @@ -1,3 +1,4 @@ +// 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 7f6615b6ab5..f2df0d0e056 100644 --- a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.fir.kt @@ -1,3 +1,4 @@ +// 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 26051b639e5..6884dfcde77 100644 --- a/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/iteratorUsage.kt @@ -1,3 +1,4 @@ +// 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 c5a0270c50e..92c343c8356 100644 --- a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.fir.kt @@ -1,3 +1,4 @@ +// 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 e5f2771f5bc..184a6748a97 100644 --- a/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt +++ b/compiler/testData/diagnostics/tests/deprecated/javaDeprecated.kt @@ -1,3 +1,4 @@ +// 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 9b7f3242a6a..c8727cec585 100644 --- a/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/nestedTypesUsage.kt @@ -1,3 +1,4 @@ +// 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 48663226082..056f2bc4a64 100644 --- a/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/objectUsage.kt @@ -1,3 +1,4 @@ +// 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 13f222ebd67..80f7b39a83a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.fir.kt @@ -1,3 +1,4 @@ +// 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 ae9233a2f37..db6a4211098 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUsage.kt @@ -1,3 +1,4 @@ +// 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 a9def444d53..642ee54f7f2 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyUseSiteTargetedAnnotations.kt @@ -1,3 +1,4 @@ +// 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 c5f23583e4b..e8752de9836 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.fir.kt @@ -1,3 +1,4 @@ +// 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 ab47cb7b253..4642016aaa6 100644 --- a/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt +++ b/compiler/testData/diagnostics/tests/deprecated/propertyWithInvoke.kt @@ -1,3 +1,4 @@ +// 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 a017cd364be..4e25f7bf79a 100644 --- a/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/thisUsage.kt @@ -1,3 +1,4 @@ +// 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 c2534d46451..21120a3c59c 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typeUsage.kt @@ -1,3 +1,4 @@ +// 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 f1fdbaae7e8..dc580c476bf 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasCompanionObject.kt @@ -1,3 +1,4 @@ +// 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 4b5948dbfd1..87b9645cd02 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.fir.kt @@ -1,3 +1,5 @@ +// 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 7c1d0708538..f2f022f84e0 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasConstructor.kt @@ -1,3 +1,5 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS +// FIR_DISABLE_LAZY_RESOLVE_CHECKS @Deprecated("Deprecated class") open class DeprecatedClass diff --git a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt index a446443791a..249ef84b8b5 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.fir.kt @@ -1,3 +1,4 @@ +// 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 45454cd459c..1c63f4d0657 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasForDeprecatedClass.kt @@ -1,3 +1,4 @@ +// 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 9aa8d3c4009..659bbc500d3 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.fir.kt @@ -1,3 +1,4 @@ +// 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 a679866e2c6..edad95cc613 100644 --- a/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt +++ b/compiler/testData/diagnostics/tests/deprecated/typealiasUsage.kt @@ -1,3 +1,4 @@ +// 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 4a8f6991a01..61339792d51 100644 --- a/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/unusedImport.fir.kt @@ -1,3 +1,4 @@ +// 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 0263fbf30e1..c305a404965 100644 --- a/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt +++ b/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt @@ -1,3 +1,4 @@ +// 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 43cb5cea32a..eb8bc525f12 100644 --- a/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt +++ b/compiler/testData/diagnostics/tests/deprecated/usageOnEnum.kt @@ -1,3 +1,4 @@ +// 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 664d2389f06..9ceef4627ed 100644 --- a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt +++ b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.fir.kt @@ -1,3 +1,4 @@ +// 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 0660c859e58..8b251098eef 100644 --- a/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt +++ b/compiler/testData/diagnostics/tests/deprecated/warningOnConstructorErrorOnClass.kt @@ -1,3 +1,4 @@ +// 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/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.fir.kt index 6ed1c87836d..144ef4a65ba 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { fun foo(x: X) diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.kt index 01aa3594e94..6e7e4510af0 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/accidentalOverrides/accidentalOverrideFromGrandparent.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { fun foo(x: X) diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.fir.kt index b6a7692433a..76d33a7f282 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER open class B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.kt index 60324a9398b..3ee1b8a16a0 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/class.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER open class B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.fir.kt index 817b75ed780..5520a33c054 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.kt index 8dfae66af87..41213087359 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/fakeOverrideTrait.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.fir.kt index c931a0413e7..4e1d0c0d3de 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt index d9f9b35cab0..82912886849 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/bridges/trait.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface B { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.fir.kt index febee25b6b3..859f834bf6f 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.kt index 6191d8ff095..c33aa56a85a 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationAndOwnMethod.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.fir.kt index 74fe8e60254..5363d7129d9 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.kt index 7e6b4cec1b5..cf4d760984f 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/delegationToTraitImplAndOwnMethod.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.fir.kt index 77563b2f25d..4da54b06cd8 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.kt index 9c29e9fc29a..d3eb4fb42ba 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/erasure/twoTraitsAndOwnFunction.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER interface Foo { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.fir.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.fir.kt index abfad6e56b3..056268c1fe3 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.fir.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface Foo class Bar(f: Foo) : Foo by f { diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.kt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.kt index 7d2e5082b32..df83111aaf7 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.kt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/delegationBy.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface Foo class Bar(f: Foo) : Foo by f { diff --git a/compiler/testData/diagnostics/tests/enum/inheritFromEnumEntry.kt b/compiler/testData/diagnostics/tests/enum/inheritFromEnumEntry.kt index ccbdeae2112..f1645a26064 100644 --- a/compiler/testData/diagnostics/tests/enum/inheritFromEnumEntry.kt +++ b/compiler/testData/diagnostics/tests/enum/inheritFromEnumEntry.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL enum class E { ENTRY diff --git a/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.fir.kt b/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.fir.kt index 483d1c4a69e..5d2920c0591 100644 --- a/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.fir.kt +++ b/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS enum class E : Cloneable { A; override fun clone(): Any { diff --git a/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.kt b/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.kt index 1ab97b44123..6f37400a5b9 100644 --- a/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.kt +++ b/compiler/testData/diagnostics/tests/enum/kt8972_cloneNotAllowed.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS enum class E : Cloneable { A; override fun clone(): Any { diff --git a/compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt b/compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt index a62c19554dd..3c82e3ca4f5 100644 --- a/compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt +++ b/compiler/testData/diagnostics/tests/enum/overrideFinalEnumMethods.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL enum class E { ENTRY; diff --git a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overrides.kt b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overrides.kt index c958aebdceb..0808fae27ef 100644 --- a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overrides.kt +++ b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overrides.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +DefinitelyNonNullableTypes diff --git a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.fir.kt b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.fir.kt index 1d9271fe438..120932c967a 100644 --- a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.fir.kt +++ b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +DefinitelyNonNullableTypes +ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt index 4d0839a47ef..dd6bf155010 100644 --- a/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt +++ b/compiler/testData/diagnostics/tests/explicitDefinitelyNotNullableViaIntersection/overridesJavaAnnotated.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +DefinitelyNonNullableTypes +ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP/monoidSum.kt b/compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP/monoidSum.kt index f4fb3238ff8..1965408f6c3 100644 --- a/compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP/monoidSum.kt +++ b/compiler/testData/diagnostics/tests/extensions/contextReceivers/fromKEEP/monoidSum.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +ContextReceivers diff --git a/compiler/testData/diagnostics/tests/generics/finalUpperBoundWithOverride.kt b/compiler/testData/diagnostics/tests/generics/finalUpperBoundWithOverride.kt index ad8472e6f2c..eccd29d4b5e 100644 --- a/compiler/testData/diagnostics/tests/generics/finalUpperBoundWithOverride.kt +++ b/compiler/testData/diagnostics/tests/generics/finalUpperBoundWithOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.fir.kt b/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.fir.kt index 16dbe5da7fb..03788aca7b3 100644 --- a/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.fir.kt +++ b/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_VARIABLE // JAVAC_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.kt b/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.kt index 16c710152ec..70fb148983a 100644 --- a/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.kt +++ b/compiler/testData/diagnostics/tests/generics/innerClasses/iterator.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // !DIAGNOSTICS: -ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE -UNUSED_VALUE -UNUSED_PARAMETER -UNUSED_VARIABLE // JAVAC_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/generics/innerClasses/kt3357.kt b/compiler/testData/diagnostics/tests/generics/innerClasses/kt3357.kt index e7ec070e349..821f4dd25c8 100644 --- a/compiler/testData/diagnostics/tests/generics/innerClasses/kt3357.kt +++ b/compiler/testData/diagnostics/tests/generics/innerClasses/kt3357.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/generics/kt5508.kt b/compiler/testData/diagnostics/tests/generics/kt5508.kt index 01f1b8d13bf..6f10227c19b 100644 --- a/compiler/testData/diagnostics/tests/generics/kt5508.kt +++ b/compiler/testData/diagnostics/tests/generics/kt5508.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // KT-5508 Stackoverflow in type substitution diff --git a/compiler/testData/diagnostics/tests/imports/kt13112.fir.kt b/compiler/testData/diagnostics/tests/imports/kt13112.fir.kt index c1149a51418..50d63d595cd 100644 --- a/compiler/testData/diagnostics/tests/imports/kt13112.fir.kt +++ b/compiler/testData/diagnostics/tests/imports/kt13112.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: 1.kt package anotherpackage diff --git a/compiler/testData/diagnostics/tests/imports/kt13112.kt b/compiler/testData/diagnostics/tests/imports/kt13112.kt index 7c5ecdcd33f..f77669f5203 100644 --- a/compiler/testData/diagnostics/tests/imports/kt13112.kt +++ b/compiler/testData/diagnostics/tests/imports/kt13112.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: 1.kt package anotherpackage diff --git a/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.fir.kt b/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.fir.kt index 8a84de782e4..31403d6ef3a 100644 --- a/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.fir.kt +++ b/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT fun test() { diff --git a/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.kt b/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.kt index 24f6b4e7dcf..195d280e494 100644 --- a/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.kt +++ b/compiler/testData/diagnostics/tests/inference/builderInference/kt53422.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT fun test() { diff --git a/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.fir.kt b/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.fir.kt index 095c5577e58..78caf68098d 100644 --- a/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.fir.kt +++ b/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_ANONYMOUS_PARAMETER -UNCHECKED_CAST import kotlin.reflect.KFunction1 diff --git a/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.kt b/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.kt index 28752aca64f..0a421f7a132 100644 --- a/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.kt +++ b/compiler/testData/diagnostics/tests/inference/completion/postponedArgumentsAnalysis/basic.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_ANONYMOUS_PARAMETER -UNCHECKED_CAST import kotlin.reflect.KFunction1 diff --git a/compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/kt48765.diag.txt b/compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/kt48765.diag.txt index 7b5f0cdd21b..c8b97e42083 100644 --- a/compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/kt48765.diag.txt +++ b/compiler/testData/diagnostics/tests/inference/emptyIntersectionTypes/kt48765.diag.txt @@ -13,3 +13,4 @@ fun foo(): T { /kt48765.kt:13:15: warning: unchecked cast: String to T return "" as T // this cast is safe because String is final. ^ + diff --git a/compiler/testData/diagnostics/tests/inference/knownTypeParameters.kt b/compiler/testData/diagnostics/tests/inference/knownTypeParameters.kt index 9628276a47c..e46a83e2159 100644 --- a/compiler/testData/diagnostics/tests/inference/knownTypeParameters.kt +++ b/compiler/testData/diagnostics/tests/inference/knownTypeParameters.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL open class A { diff --git a/compiler/testData/diagnostics/tests/inference/kt619.kt b/compiler/testData/diagnostics/tests/inference/kt619.kt index 81f78254947..afbc85b75e3 100644 --- a/compiler/testData/diagnostics/tests/inference/kt619.kt +++ b/compiler/testData/diagnostics/tests/inference/kt619.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class A(t : Int) : Comparable { var i = t diff --git a/compiler/testData/diagnostics/tests/inference/regressions/compareBy.kt b/compiler/testData/diagnostics/tests/inference/regressions/compareBy.kt index cc525b3a59f..ded64ff081a 100644 --- a/compiler/testData/diagnostics/tests/inference/regressions/compareBy.kt +++ b/compiler/testData/diagnostics/tests/inference/regressions/compareBy.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class Item(val name: String, val rating: Int): Comparable { public override fun compareTo(other: Item): Int { diff --git a/compiler/testData/diagnostics/tests/inference/regressions/kt2754.kt b/compiler/testData/diagnostics/tests/inference/regressions/kt2754.kt index 2f773dece20..9d41e39f6f9 100644 --- a/compiler/testData/diagnostics/tests/inference/regressions/kt2754.kt +++ b/compiler/testData/diagnostics/tests/inference/regressions/kt2754.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !CHECK_TYPE // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.fir.kt b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.fir.kt index 7d9a7525a89..1065d221edb 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.fir.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses, +InlineClassImplementationByDelegation // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.kt b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.kt index 7d38dda75ca..85d76420bc3 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCanImplementInterfaceByDelegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses, +InlineClassImplementationByDelegation // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.fir.kt b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.fir.kt index 73911c24351..5b70d36cb38 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.fir.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses interface IFoo diff --git a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.kt b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.kt index 5fcdc27e416..94dcd1eb330 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassCannotImplementInterfaceByDelegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses interface IFoo diff --git a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt index f40abbabd50..16d20a56f21 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses diff --git a/compiler/testData/diagnostics/tests/inlineClasses/lateinitInlineClassesOn.kt b/compiler/testData/diagnostics/tests/inlineClasses/lateinitInlineClassesOn.kt index 9c7f5f9371b..b1bc0d22428 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/lateinitInlineClassesOn.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/lateinitInlineClassesOn.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT // !LANGUAGE: +InlineLateinit diff --git a/compiler/testData/diagnostics/tests/inlineClasses/recursiveInlineClasses.kt b/compiler/testData/diagnostics/tests/inlineClasses/recursiveInlineClasses.kt index 8368691c42c..3c095759f98 100644 --- a/compiler/testData/diagnostics/tests/inlineClasses/recursiveInlineClasses.kt +++ b/compiler/testData/diagnostics/tests/inlineClasses/recursiveInlineClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.fir.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.fir.kt index 933e72eac6a..92df6693227 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.kt index 10dca828f47..194687d3af4 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/contains.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.fir.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.fir.kt index 62b148dfde6..3caf26aa9c9 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.kt index b983433f2fd..db17df005d7 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAll.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.fir.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.fir.kt index b2c06bdd860..c4b36e11dd6 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt index 7ed19ccd35c..b5bd0f2e41a 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/containsAndOverload.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE -PARAMETER_NAME_CHANGED_ON_OVERRIDE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.fir.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.fir.kt index 055a7d36daf..f54ca0e1192 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: Dict.java public abstract class Dict { diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.kt index 409e6ed8c49..d271a7da88d 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/irrelevantMapGetAbstract.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: Dict.java public abstract class Dict { diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.fir.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.fir.kt index a25795d18de..17317367c13 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: X.java import org.jetbrains.annotations.NotNull; diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.kt index e1f345eb934..275416d9e5e 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/overridesBuiltinNoMagic.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: X.java import org.jetbrains.annotations.NotNull; diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAt.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAt.kt index 25c02d03d9b..c1d00ea866f 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAt.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAt.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAtInt.kt b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAtInt.kt index 581138898ae..9e0d5238970 100644 --- a/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAtInt.kt +++ b/compiler/testData/diagnostics/tests/j+k/collectionOverrides/removeAtInt.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.fir.kt b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.fir.kt index 558acb9c66f..53bb1249c79 100644 --- a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: J.java public class J { @Deprecated diff --git a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt index b426f276988..dfa45fbb8a7 100644 --- a/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt +++ b/compiler/testData/diagnostics/tests/j+k/deprecations/forMixedOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: J.java public class J { @Deprecated diff --git a/compiler/testData/diagnostics/tests/j+k/finalCollectionSize.kt b/compiler/testData/diagnostics/tests/j+k/finalCollectionSize.kt index 2b918487101..82e859abfe0 100644 --- a/compiler/testData/diagnostics/tests/j+k/finalCollectionSize.kt +++ b/compiler/testData/diagnostics/tests/j+k/finalCollectionSize.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // JAVAC_EXPECTED_FILE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass/inlineClassErasedToPrimitiveInt.kt b/compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass/inlineClassErasedToPrimitiveInt.kt index deff956d8f8..52e62696ddb 100644 --- a/compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass/inlineClassErasedToPrimitiveInt.kt +++ b/compiler/testData/diagnostics/tests/j+k/primitiveOverridesWithInlineClass/inlineClassErasedToPrimitiveInt.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +InlineClasses, -JvmInlineValueClasses // FILE: kt1.kt diff --git a/compiler/testData/diagnostics/tests/j+k/rawOverride.kt b/compiler/testData/diagnostics/tests/j+k/rawOverride.kt index 1dd5744c95f..d10b734fc3e 100644 --- a/compiler/testData/diagnostics/tests/j+k/rawOverride.kt +++ b/compiler/testData/diagnostics/tests/j+k/rawOverride.kt @@ -1,5 +1,6 @@ -// SKIP_TXT +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL +// SKIP_TXT // FILE: ObjectStubSerializer.java import org.jetbrains.annotations.*; diff --git a/compiler/testData/diagnostics/tests/j+k/rawUpperBounds.kt b/compiler/testData/diagnostics/tests/j+k/rawUpperBounds.kt index a26edc32725..d427ac3b872 100644 --- a/compiler/testData/diagnostics/tests/j+k/rawUpperBounds.kt +++ b/compiler/testData/diagnostics/tests/j+k/rawUpperBounds.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/j+k/sam/recursiveSamsAndInvoke.kt b/compiler/testData/diagnostics/tests/j+k/sam/recursiveSamsAndInvoke.kt index f4d975f42ef..bbdfbecd3f6 100644 --- a/compiler/testData/diagnostics/tests/j+k/sam/recursiveSamsAndInvoke.kt +++ b/compiler/testData/diagnostics/tests/j+k/sam/recursiveSamsAndInvoke.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: MyFuture.java diff --git a/compiler/testData/diagnostics/tests/j+k/specialBuiltIns/hashtableInheritance.kt b/compiler/testData/diagnostics/tests/j+k/specialBuiltIns/hashtableInheritance.kt index 6e915ccf91e..4f03823d395 100644 --- a/compiler/testData/diagnostics/tests/j+k/specialBuiltIns/hashtableInheritance.kt +++ b/compiler/testData/diagnostics/tests/j+k/specialBuiltIns/hashtableInheritance.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.fir.kt b/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.fir.kt index 53a3cc30755..16a127ef44d 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // SKIP_TXT // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated diff --git a/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.kt b/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.kt index 4123b04b5d1..89ba09663ca 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/noOverrideKeyword.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // SKIP_TXT // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated diff --git a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.diag.txt b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.diag.txt index 020a1bd596d..e38feae5667 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.diag.txt +++ b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.diag.txt @@ -1,12 +1,13 @@ -/main.kt:23:5: warning: type parameter 'X' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. +/main.kt:24:5: warning: type parameter 'X' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. override fun takeV(x: X) ^ -/main.kt:24:5: warning: type parameter 'E1' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. +/main.kt:25:5: warning: type parameter 'E1' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. override fun takeE(e: E1) ^ -/main.kt:26:5: warning: type parameter 'X' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. +/main.kt:27:5: warning: type parameter 'X' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. override fun takeVList(l: List) ^ -/main.kt:27:5: warning: type parameter 'E2' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. +/main.kt:28:5: warning: type parameter 'E2' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation. Please add a non-nullable upper bound (e.g. Any) to the type parameter. See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details. This warning will become an error soon. override fun takeEList(l2: List) ^ + diff --git a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.fir.kt b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.fir.kt index 0f3e5cbd571..c70b14a6c90 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // !LANGUAGE: +DefinitelyNonNullableTypes diff --git a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt index d7f30f66062..70e595196d9 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesDefinitelyNonNullable.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // !LANGUAGE: +DefinitelyNonNullableTypes diff --git a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.fir.kt b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.fir.kt index e80bcc4f019..1ffad4ba406 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.fir.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // FILE: SLRUMap.java diff --git a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.kt b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.kt index 25d8484a3dc..1d51fad7eeb 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/notNullTypeParameterWithKotlinOverridesWarning.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: -ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated // FILE: SLRUMap.java diff --git a/compiler/testData/diagnostics/tests/j+k/types/upperBoundsCheckAgainstSelfTypeInJava.kt b/compiler/testData/diagnostics/tests/j+k/types/upperBoundsCheckAgainstSelfTypeInJava.kt index d4ae952fb8f..971a2041684 100644 --- a/compiler/testData/diagnostics/tests/j+k/types/upperBoundsCheckAgainstSelfTypeInJava.kt +++ b/compiler/testData/diagnostics/tests/j+k/types/upperBoundsCheckAgainstSelfTypeInJava.kt @@ -1,5 +1,7 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT + // FILE: XBreakpointProperties.java public abstract class XBreakpointProperties {} // FILE: XBreakpoint.java diff --git a/compiler/testData/diagnostics/tests/modifiers/inlineParameters.kt b/compiler/testData/diagnostics/tests/modifiers/inlineParameters.kt index a783b11d611..450917370d3 100644 --- a/compiler/testData/diagnostics/tests/modifiers/inlineParameters.kt +++ b/compiler/testData/diagnostics/tests/modifiers/inlineParameters.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/modifiers/modifierOnParameterInFunctionType.kt b/compiler/testData/diagnostics/tests/modifiers/modifierOnParameterInFunctionType.kt index 07d8b38dde1..82790bfa58e 100644 --- a/compiler/testData/diagnostics/tests/modifiers/modifierOnParameterInFunctionType.kt +++ b/compiler/testData/diagnostics/tests/modifiers/modifierOnParameterInFunctionType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateClass/collectionMethodStub.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateClass/collectionMethodStub.kt index 60c747a0c2d..b569a4a405e 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateClass/collectionMethodStub.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateClass/collectionMethodStub.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT // FILE: f1.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParams.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParams.kt index cdf6b907694..6bb01567a8e 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParams.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParams.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNNECESSARY_SAFE_CALL -SAFE_CALL_WILL_CHANGE_NULLABILITY diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsBoundMismatch.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsBoundMismatch.kt index aa7234a85ba..fa30f844820 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsBoundMismatch.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsBoundMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNNECESSARY_SAFE_CALL -SAFE_CALL_WILL_CHANGE_NULLABILITY diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsIndexMismatch.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsIndexMismatch.kt index 4c5021cd508..d487bd66b7f 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsIndexMismatch.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsIndexMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsNameMismatch.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsNameMismatch.kt index 0e348cbdd1a..aae85eac990 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsNameMismatch.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInParamsNameMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNNECESSARY_SAFE_CALL -SAFE_CALL_WILL_CHANGE_NULLABILITY diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInReturnType.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInReturnType.kt index 323be2e32a5..dd76db2857e 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInReturnType.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classGenericsInReturnType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNNECESSARY_SAFE_CALL -SAFE_CALL_WILL_CHANGE_NULLABILITY diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.fir.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.fir.kt index 702ed9cbb7f..385208347f6 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.fir.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt package p diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.kt index 14586906ce5..5d0df0e0bac 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/classVsFunctionGenericsInParamsMismatch.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: m1 // FILE: a.kt package p diff --git a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/substitutedGenericInParams.kt b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/substitutedGenericInParams.kt index d022450957c..767a1c3865c 100644 --- a/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/substitutedGenericInParams.kt +++ b/compiler/testData/diagnostics/tests/multimodule/duplicateMethod/substitutedGenericInParams.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // MODULE: m1 // FILE: a.kt diff --git a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt index e6229f7a115..7602c47db22 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.fir.kt @@ -1,3 +1,4 @@ +// 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 3b4ecd64b6f..7904dcdaa0b 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenImportPriority.kt @@ -1,3 +1,4 @@ +// 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 ee8b6c69fec..d3fa31124d1 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.fir.kt @@ -1,3 +1,4 @@ +// 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 77377b92e2e..a69a3582454 100644 --- a/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt +++ b/compiler/testData/diagnostics/tests/multimodule/hiddenClass/deprecatedHiddenMultipleClasses.kt @@ -1,3 +1,4 @@ +// 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 a1ccd06a875..1e1eea504d6 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.fir.kt @@ -1,3 +1,4 @@ +// 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 e1b5b8ba1b8..6c9101c7f02 100644 --- a/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt +++ b/compiler/testData/diagnostics/tests/multiplatform/topLevelFun/callableReferenceOnExpectFun.kt @@ -1,3 +1,4 @@ +// 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 2c01202bd4a..153d79ccb50 100644 --- a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt +++ b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.fir.kt @@ -1,3 +1,4 @@ +// 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 94ca4b1be82..0eac4f3acf2 100644 --- a/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt +++ b/compiler/testData/diagnostics/tests/operatorRem/resolveModIfRemIsHidden.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProhibitOperatorMod // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_1.kt b/compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_1.kt index 32743459411..a4255960952 100644 --- a/compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_1.kt +++ b/compiler/testData/diagnostics/tests/operatorsOverloading/kt45503_1.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER // WITH_STDLIB diff --git a/compiler/testData/diagnostics/tests/overload/kt10939.kt b/compiler/testData/diagnostics/tests/overload/kt10939.kt index 974154bad34..58bf3e28c96 100644 --- a/compiler/testData/diagnostics/tests/overload/kt10939.kt +++ b/compiler/testData/diagnostics/tests/overload/kt10939.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.fir.kt b/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.fir.kt index c9f056a1d6d..d20e5461b20 100644 --- a/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.fir.kt +++ b/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER package override.generics diff --git a/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.kt b/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.kt index b5bd0f1c3cc..a0276ca94e2 100644 --- a/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.kt +++ b/compiler/testData/diagnostics/tests/override/ComplexValRedeclaration.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER package override.generics diff --git a/compiler/testData/diagnostics/tests/override/Delegation.kt b/compiler/testData/diagnostics/tests/override/Delegation.kt index 9972e786f97..10407524061 100644 --- a/compiler/testData/diagnostics/tests/override/Delegation.kt +++ b/compiler/testData/diagnostics/tests/override/Delegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/compiler/testData/diagnostics/tests/override/ExtendFunctionClass.kt b/compiler/testData/diagnostics/tests/override/ExtendFunctionClass.kt index 3a48475ed9d..06335582e10 100644 --- a/compiler/testData/diagnostics/tests/override/ExtendFunctionClass.kt +++ b/compiler/testData/diagnostics/tests/override/ExtendFunctionClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package extendFunctionClass diff --git a/compiler/testData/diagnostics/tests/override/Generics.fir.kt b/compiler/testData/diagnostics/tests/override/Generics.fir.kt index 8008eaa8b11..7aed643272c 100644 --- a/compiler/testData/diagnostics/tests/override/Generics.fir.kt +++ b/compiler/testData/diagnostics/tests/override/Generics.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package override.generics interface MyTrait { diff --git a/compiler/testData/diagnostics/tests/override/Generics.kt b/compiler/testData/diagnostics/tests/override/Generics.kt index 7275172c0fc..c85fb2b33aa 100644 --- a/compiler/testData/diagnostics/tests/override/Generics.kt +++ b/compiler/testData/diagnostics/tests/override/Generics.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package override.generics interface MyTrait { diff --git a/compiler/testData/diagnostics/tests/override/InternalPotentialOverride.kt b/compiler/testData/diagnostics/tests/override/InternalPotentialOverride.kt index 5c1d8bfc6aa..a3c0fba3d87 100644 --- a/compiler/testData/diagnostics/tests/override/InternalPotentialOverride.kt +++ b/compiler/testData/diagnostics/tests/override/InternalPotentialOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // MODULE: m1 // FILE: A.kt diff --git a/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.fir.kt b/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.fir.kt index 485e3318a45..e6e185a9750 100644 --- a/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.fir.kt +++ b/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS class Function1Impl : (String) -> Unit { override fun invoke(myParamName: String) {} } diff --git a/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.kt b/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.kt index 89977700028..3b311522669 100644 --- a/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.kt +++ b/compiler/testData/diagnostics/tests/override/parameterNames/invokeInFunctionClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS class Function1Impl : (String) -> Unit { override fun invoke(myParamName: String) {} } diff --git a/compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt b/compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt index 2451411a4da..d91bab75975 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/notNullTypeParameter/substitutionInSuperType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawOverrides.kt b/compiler/testData/diagnostics/tests/platformTypes/rawOverrides.kt index 2cb078fa70f..a5e796b93b7 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawOverrides.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawOverrides.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: A.java import java.util.*; diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawSamOverrides.kt b/compiler/testData/diagnostics/tests/platformTypes/rawSamOverrides.kt index 06c20fff4ac..c51fca0589d 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawSamOverrides.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawSamOverrides.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // (failed) attempt to reproduce exception in // http://stackoverflow.com/questions/42571812/unsupportedoperationexception-while-building-a-kotlin-project-in-idea diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/kt47459.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/kt47459.kt index f31435a13b7..0b2ce152d44 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/kt47459.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/kt47459.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: MapObjectManager.java abstract class MapObjectManager { diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawSupertypeOverride.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawSupertypeOverride.kt index b78213794c9..d00253bcace 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawSupertypeOverride.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawSupertypeOverride.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.fir.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.fir.kt index 78ba2134bd4..70941c67596 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.fir.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.kt index 26b400d8260..20bb7d18d58 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/rawTypeInUpperBound.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/recursiveBound.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/recursiveBound.kt index dd18ccfe9a0..e37a4151074 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/recursiveBound.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/recursiveBound.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/smartCastToClassWithRawSupertype.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/smartCastToClassWithRawSupertype.kt index b5f72f96377..2afe731f1c8 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/smartCastToClassWithRawSupertype.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/smartCastToClassWithRawSupertype.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT // !DIAGNOSTICS: -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/starProjectionToRaw.kt b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/starProjectionToRaw.kt index 54e0a5c1bbc..5bd349b8485 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/rawTypes/starProjectionToRaw.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/rawTypes/starProjectionToRaw.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/platformTypes/typeEnhancement/saveAnnotationAfterSubstitution.kt b/compiler/testData/diagnostics/tests/platformTypes/typeEnhancement/saveAnnotationAfterSubstitution.kt index ae1a718bd31..fde443480ac 100644 --- a/compiler/testData/diagnostics/tests/platformTypes/typeEnhancement/saveAnnotationAfterSubstitution.kt +++ b/compiler/testData/diagnostics/tests/platformTypes/typeEnhancement/saveAnnotationAfterSubstitution.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FILE: A.java diff --git a/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt b/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt index 1be7c68958b..423687f7570 100644 --- a/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt +++ b/compiler/testData/diagnostics/tests/privateInFile/kt12429.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL private const val a = "" diff --git a/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.fir.kt b/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.fir.kt index 1d7c21f60f2..c8c43747ba6 100644 --- a/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.fir.kt +++ b/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: foo/Super.java package foo diff --git a/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.kt b/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.kt index 7e404f7638b..6304c375e6b 100644 --- a/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.kt +++ b/compiler/testData/diagnostics/tests/protectedWithGenericsInDifferentPackage.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: foo/Super.java package foo diff --git a/compiler/testData/diagnostics/tests/regressions/ea53340.kt b/compiler/testData/diagnostics/tests/regressions/ea53340.kt index 397315e1d0f..a6450418087 100644 --- a/compiler/testData/diagnostics/tests/regressions/ea53340.kt +++ b/compiler/testData/diagnostics/tests/regressions/ea53340.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class A : Function0 { override fun invoke(): Int = 1 diff --git a/compiler/testData/diagnostics/tests/regressions/kt11979.kt b/compiler/testData/diagnostics/tests/regressions/kt11979.kt index f95083089a0..041e6d8225d 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt11979.kt +++ b/compiler/testData/diagnostics/tests/regressions/kt11979.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/regressions/kt12898.fir.kt b/compiler/testData/diagnostics/tests/regressions/kt12898.fir.kt index ee3bc863a92..8ae07ecbad2 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt12898.fir.kt +++ b/compiler/testData/diagnostics/tests/regressions/kt12898.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface B { val t: T diff --git a/compiler/testData/diagnostics/tests/regressions/kt12898.kt b/compiler/testData/diagnostics/tests/regressions/kt12898.kt index d2cfe66d464..10746c5c5ac 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt12898.kt +++ b/compiler/testData/diagnostics/tests/regressions/kt12898.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface B { val t: T diff --git a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt index b3f1b750831..1c92bcae17f 100644 --- a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt +++ b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.fir.kt @@ -1,3 +1,4 @@ +// 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 13e31466c9a..441d69bea80 100644 --- a/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt +++ b/compiler/testData/diagnostics/tests/resolve/HiddenDeclarations.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test // imports should be resolved diff --git a/compiler/testData/diagnostics/tests/resolve/invoke/kt9517.fir.kt b/compiler/testData/diagnostics/tests/resolve/invoke/kt9517.fir.kt index 8ec9a31cdf7..40c445a73ea 100644 --- a/compiler/testData/diagnostics/tests/resolve/invoke/kt9517.fir.kt +++ b/compiler/testData/diagnostics/tests/resolve/invoke/kt9517.fir.kt @@ -1,4 +1,3 @@ - //KT-9517 Wrong resolve for invoke convention after smart cast open class A { open val foo: () -> Number = null!! diff --git a/compiler/testData/diagnostics/tests/resolve/overloadConflicts/kt37692.kt b/compiler/testData/diagnostics/tests/resolve/overloadConflicts/kt37692.kt index c46866b6139..1b254c1fa41 100644 --- a/compiler/testData/diagnostics/tests/resolve/overloadConflicts/kt37692.kt +++ b/compiler/testData/diagnostics/tests/resolve/overloadConflicts/kt37692.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.fir.kt b/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.fir.kt index 6f3cfe5f696..aaf25d01237 100644 --- a/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.fir.kt +++ b/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface A> { val symbol: ASymbol } diff --git a/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.kt b/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.kt index fd08be0121d..faa474d027e 100644 --- a/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.kt +++ b/compiler/testData/diagnostics/tests/resolve/smartcastToMoreSpecificProperty.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS interface A> { val symbol: ASymbol } diff --git a/compiler/testData/diagnostics/tests/samConversions/implicitReturnType.kt b/compiler/testData/diagnostics/tests/samConversions/implicitReturnType.kt index 906bdaef3af..63cd37c90f1 100644 --- a/compiler/testData/diagnostics/tests/samConversions/implicitReturnType.kt +++ b/compiler/testData/diagnostics/tests/samConversions/implicitReturnType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT // ISSUE: KT-52691 diff --git a/compiler/testData/diagnostics/tests/scopes/classHeader/delegation.kt b/compiler/testData/diagnostics/tests/scopes/classHeader/delegation.kt index 9d745b0ffd2..0ad1127430c 100644 --- a/compiler/testData/diagnostics/tests/scopes/classHeader/delegation.kt +++ b/compiler/testData/diagnostics/tests/scopes/classHeader/delegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER diff --git a/compiler/testData/diagnostics/tests/scopes/kt1248.kt b/compiler/testData/diagnostics/tests/scopes/kt1248.kt index 3f800bfb141..531f340f38d 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt1248.kt +++ b/compiler/testData/diagnostics/tests/scopes/kt1248.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL //KT-1248 Control visibility of overrides needed package kt1248 diff --git a/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.fir.kt b/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.fir.kt index 13f51aa955d..1251899fd53 100644 --- a/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.fir.kt +++ b/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // !LANGUAGE: -ProhibitProtectedCallFromInline // FILE: module1/AbstractModule.java diff --git a/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.kt b/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.kt index a4c29bd2775..cda67cf720c 100644 --- a/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.kt +++ b/compiler/testData/diagnostics/tests/scopes/protectedVisibility/kt7971.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !CHECK_TYPE // !LANGUAGE: -ProhibitProtectedCallFromInline // FILE: module1/AbstractModule.java diff --git a/compiler/testData/diagnostics/tests/scopes/visibility2.fir.kt b/compiler/testData/diagnostics/tests/scopes/visibility2.fir.kt index 7356323953d..a63e6a85949 100644 --- a/compiler/testData/diagnostics/tests/scopes/visibility2.fir.kt +++ b/compiler/testData/diagnostics/tests/scopes/visibility2.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE // JAVAC_EXPECTED_FILE // WITH_EXTENDED_CHECKERS diff --git a/compiler/testData/diagnostics/tests/scopes/visibility2.kt b/compiler/testData/diagnostics/tests/scopes/visibility2.kt index 6363af5b456..c975e22bcee 100644 --- a/compiler/testData/diagnostics/tests/scopes/visibility2.kt +++ b/compiler/testData/diagnostics/tests/scopes/visibility2.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE // JAVAC_EXPECTED_FILE // WITH_EXTENDED_CHECKERS diff --git a/compiler/testData/diagnostics/tests/smartCasts/lambdaArgumentNoSubstitutedReturn.kt b/compiler/testData/diagnostics/tests/smartCasts/lambdaArgumentNoSubstitutedReturn.kt index 5d9ffe6882c..a42e9206d0d 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/lambdaArgumentNoSubstitutedReturn.kt +++ b/compiler/testData/diagnostics/tests/smartCasts/lambdaArgumentNoSubstitutedReturn.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class Indexed(val x: T, val y: Int) diff --git a/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperType.kt b/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperType.kt index 39639446971..6e9a05eaff2 100644 --- a/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperType.kt +++ b/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class A : Double.() -> Unit { override fun invoke(p1: Double) {} diff --git a/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperTypeRestrictionLifted.kt b/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperTypeRestrictionLifted.kt index 05d324f32be..69e44eddac5 100644 --- a/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperTypeRestrictionLifted.kt +++ b/compiler/testData/diagnostics/tests/subtyping/extFunctionTypeAsSuperTypeRestrictionLifted.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +FunctionalTypeWithExtensionAsSupertype // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/subtyping/functionTypeAsSuperType.kt b/compiler/testData/diagnostics/tests/subtyping/functionTypeAsSuperType.kt index bd920753d17..a05c56fe5f7 100644 --- a/compiler/testData/diagnostics/tests/subtyping/functionTypeAsSuperType.kt +++ b/compiler/testData/diagnostics/tests/subtyping/functionTypeAsSuperType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL class A : () -> Unit { override fun invoke() {} diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/basic.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/basic.kt index 4be57e8bd55..8cf6e17fe84 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/basic.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/basic.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/delegation.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/delegation.kt index 410feb91d44..a1cd3a82608 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/delegation.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/delegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/hashMapGetOrDefault.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/hashMapGetOrDefault.kt index 56bffae9b0c..eaae549ee31 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/hashMapGetOrDefault.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/backwardCompatibility/hashMapGetOrDefault.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN // JAVAC_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/forEachRemainingNullability.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/forEachRemainingNullability.kt index 1c06c87e3de..ec95302316b 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/forEachRemainingNullability.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/forEachRemainingNullability.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.fir.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.fir.kt index e64d32d5afa..8ff87981612 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.fir.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -PARAMETER_NAME_CHANGED_ON_OVERRIDE // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.kt index b0a4a912026..b0b2347cd2e 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/mutableMapRemove.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_PARAMETER -PARAMETER_NAME_CHANGED_ON_OVERRIDE // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/removeIf.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/removeIf.kt index 6b9bd90e2e7..c7354337e8d 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/removeIf.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/removeIf.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/targetedBuiltIns/stream.kt b/compiler/testData/diagnostics/tests/targetedBuiltIns/stream.kt index 5848f2ca42f..b11c19d95e2 100644 --- a/compiler/testData/diagnostics/tests/targetedBuiltIns/stream.kt +++ b/compiler/testData/diagnostics/tests/targetedBuiltIns/stream.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // FULL_JDK diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/diagnostics.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/diagnostics.kt index b994437084a..004ca868177 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/diagnostics.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/diagnostics.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt index 8ad8f6e0b9f..d1c29f2929d 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: -JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt index 178afad4f6c..2de527217c6 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/disabledFeature.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: -JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.fir.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.fir.kt index b156cf8a130..41c04e6be89 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.fir.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.kt index 034e3e6532d..4bb6f0f1310 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/irrelevantFields.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport // SKIP_TXT diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.fir.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.fir.kt index 437a7743740..7c05f29c2fd 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.fir.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.kt index e336144ae9b..58ac0b84f31 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/jvmRecordDescriptorStructure.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.fir.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.fir.kt index 9b3338ee106..27029e020c8 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.fir.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.kt b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.kt index 291f884c66c..cd079cf431f 100644 --- a/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.kt +++ b/compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/supertypesCheck.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // !API_VERSION: 1.5 // !LANGUAGE: +JvmRecordSupport diff --git a/compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt b/compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt index ccb9b86c70d..943d1de6800 100644 --- a/compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt +++ b/compiler/testData/diagnostics/tests/thisAndSuper/genericQualifiedSuperOverridden.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +QualifiedSupertypeMayBeExtendedByOtherSupertype interface IBase { diff --git a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.fir.kt b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.fir.kt index 4557a2b8555..8cd18d9427e 100644 --- a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.fir.kt +++ b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class GenericBaseClass { open fun foo(x: T): T = x open fun ambiguous(x: T): T = x diff --git a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.kt b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.kt index eab44b72628..d5a9258c206 100644 --- a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.kt +++ b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/ambiguousSuperWithGenerics.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS open class GenericBaseClass { open fun foo(x: T): T = x open fun ambiguous(x: T): T = x diff --git a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/unqualifiedSuperWithGenerics.kt b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/unqualifiedSuperWithGenerics.kt index b69d5da87c6..0a3da10a23a 100644 --- a/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/unqualifiedSuperWithGenerics.kt +++ b/compiler/testData/diagnostics/tests/thisAndSuper/unqualifiedSuper/unqualifiedSuperWithGenerics.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL open class GenericBaseClass { open fun foo(x: T): T = x diff --git a/compiler/testData/diagnostics/tests/typeParameters/kt42042.fir.kt b/compiler/testData/diagnostics/tests/typeParameters/kt42042.fir.kt index 4a8545abc97..e8c91889eb1 100644 --- a/compiler/testData/diagnostics/tests/typeParameters/kt42042.fir.kt +++ b/compiler/testData/diagnostics/tests/typeParameters/kt42042.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProperTypeInferenceConstraintsProcessing sealed class Subtype { abstract fun cast(value: A1): B1 diff --git a/compiler/testData/diagnostics/tests/typeParameters/kt42042.kt b/compiler/testData/diagnostics/tests/typeParameters/kt42042.kt index 0780b78731d..e0195682bc0 100644 --- a/compiler/testData/diagnostics/tests/typeParameters/kt42042.kt +++ b/compiler/testData/diagnostics/tests/typeParameters/kt42042.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -ProperTypeInferenceConstraintsProcessing sealed class Subtype { abstract fun cast(value: A1): B1 diff --git a/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.fir.kt b/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.fir.kt index c4018ff0a4a..10b5a9b416b 100644 --- a/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.fir.kt +++ b/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProperTypeInferenceConstraintsProcessing sealed class Subtype { diff --git a/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.kt b/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.kt index 1e1d762655e..9aafa0963bf 100644 --- a/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.kt +++ b/compiler/testData/diagnostics/tests/typeParameters/kt42042Error.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ProperTypeInferenceConstraintsProcessing sealed class Subtype { diff --git a/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.fir.kt b/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.fir.kt index 4ce55439986..28025f52af0 100644 --- a/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.fir.kt +++ b/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -TOPLEVEL_TYPEALIASES_ONLY interface ICell { diff --git a/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.kt b/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.kt index d0e84053c88..9f7bcf654be 100644 --- a/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.kt +++ b/compiler/testData/diagnostics/tests/typealias/inheritedNestedTypeAlias.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -TOPLEVEL_TYPEALIASES_ONLY interface ICell { diff --git a/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.fir.kt b/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.fir.kt index 2a8a0bdd843..c4c7bf12f6b 100644 --- a/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.fir.kt +++ b/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -TOPLEVEL_TYPEALIASES_ONLY open class Base { diff --git a/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.kt b/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.kt index 43c7ef4ef11..bcc381fa5ff 100644 --- a/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.kt +++ b/compiler/testData/diagnostics/tests/typealias/typeAliasAsSuperQualifier.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -TOPLEVEL_TYPEALIASES_ONLY open class Base { diff --git a/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls2.kt b/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls2.kt index 94f08e90129..2870a18d818 100644 --- a/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls2.kt +++ b/compiler/testData/diagnostics/tests/typealias/typeAliasConstructorTypeArgumentsInferenceWithNestedCalls2.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // NI_EXPECTED_FILE diff --git a/compiler/testData/diagnostics/tests/valueClasses/recursiveMultiFieldValueClasses.kt b/compiler/testData/diagnostics/tests/valueClasses/recursiveMultiFieldValueClasses.kt index 39ed198e4f8..e8d68db9b3d 100644 --- a/compiler/testData/diagnostics/tests/valueClasses/recursiveMultiFieldValueClasses.kt +++ b/compiler/testData/diagnostics/tests/valueClasses/recursiveMultiFieldValueClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // TARGET_BACKEND: JVM_IR diff --git a/compiler/testData/diagnostics/tests/valueClasses/recursiveValueClasses.kt b/compiler/testData/diagnostics/tests/valueClasses/recursiveValueClasses.kt index a68d056bcc0..359582a012b 100644 --- a/compiler/testData/diagnostics/tests/valueClasses/recursiveValueClasses.kt +++ b/compiler/testData/diagnostics/tests/valueClasses/recursiveValueClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !SKIP_JAVAC // !LANGUAGE: +InlineClasses diff --git a/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.fir.kt b/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.fir.kt index 0c8f47ae571..dc0a57a0bc7 100644 --- a/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.fir.kt +++ b/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: +InlineClasses // ALLOW_KOTLIN_PACKAGE diff --git a/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.kt b/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.kt index bcd97fdc3b6..3a3e9125d54 100644 --- a/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.kt +++ b/compiler/testData/diagnostics/tests/valueClasses/valueClassCannotImplementInterfaceByDelegation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !SKIP_JAVAC // !LANGUAGE: +InlineClasses // ALLOW_KOTLIN_PACKAGE diff --git a/compiler/testData/diagnostics/tests/valueClasses/valueClassImplementsCollection.kt b/compiler/testData/diagnostics/tests/valueClasses/valueClassImplementsCollection.kt index 940cecd7c89..1d5a1c19a61 100644 --- a/compiler/testData/diagnostics/tests/valueClasses/valueClassImplementsCollection.kt +++ b/compiler/testData/diagnostics/tests/valueClasses/valueClassImplementsCollection.kt @@ -1,6 +1,6 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !SKIP_JAVAC -// FIR_IDENTICAL // !LANGUAGE: +InlineClasses // ALLOW_KOTLIN_PACKAGE diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/generic.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/generic.kt index 5e66b511a5f..15883201341 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/generic.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmDefault/generic.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !JVM_TARGET: 1.8 // !JVM_DEFAULT_MODE: enable diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt index c49a02eb691..f1cc81af567 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.fir.kt @@ -1,3 +1,4 @@ +// 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 9b419f6224d..2a07bceaae4 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmRecordWithoutJdk15.kt @@ -1,3 +1,4 @@ +// 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 269e25b4c69..172061adc7a 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/qualifiedCallValue.kt @@ -1,3 +1,4 @@ +// 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/coroutines/inference/kt33542.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt33542.kt index fd83d340e39..ad5891bedf1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt33542.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inference/kt33542.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !OPT_IN: kotlin.RequiresOptIn diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.fir.kt index 45acdc0704b..aaaddf658b1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.kt index a86a8232188..2a6d8d33467 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineSuspend.kt index f718cd6e2a4..82be01d06b1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfCrossinlineSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -NOTHING_TO_INLINE diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.fir.kt index 203ec6d66e9..6e8007c0766 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.kt index aa8036e2d2b..211eb98e4ea 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineSuspend.kt index 483d0085bda..a9fb311ea9d 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfNoinlineSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -NOTHING_TO_INLINE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.fir.kt index 3d1b6c64f55..60d8505e875 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.kt index d15fa810be4..0de2b6ce865 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.fir.kt index 754d7c89c85..80706109ffb 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE -UNUSED_PARAMETER // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.kt index b8ffd08e273..48b92c0b617 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineOrdinaryOfSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE -UNUSED_PARAMETER // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.fir.kt index fea304885c0..cec4b4e6cd7 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.kt index e37a26b991e..1ce6b5c2ac9 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineSuspend.kt index 0de5b343a08..54a4f314ad4 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfCrossinlineSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -NOTHING_TO_INLINE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.fir.kt index 99cf6dca719..80592218dd2 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.kt index 320e2cb495f..4a497f4b077 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineSuspend.kt index e3475839a15..5dae27c6953 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfNoinlineSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE -NOTHING_TO_INLINE -UNUSED_PARAMETER // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.fir.kt index 79180ae7052..cd3a76acf1b 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.kt index b92ea4d18fd..ab798ce2c58 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfOrdinary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT // WITH_COROUTINES diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.fir.kt index 6065e065bdd..6592bd21675 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -NOTHING_TO_INLINE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.kt index c824c523728..89b588a0e9c 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/inlineCrossinline/inlineSuspendOfSuspend.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER -NOTHING_TO_INLINE // SKIP_TXT diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendFunctionType/lambdaInOverriddenValInitializer.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendFunctionType/lambdaInOverriddenValInitializer.kt index aca37d452cf..3a01b61cd05 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendFunctionType/lambdaInOverriddenValInitializer.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendFunctionType/lambdaInOverriddenValInitializer.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL interface Foo { val foo: suspend () -> Unit diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType.kt index 7027238b511..6ae1cf7c418 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER, -UNUSED_EXPRESSION, -UNUSED_VARIABLE // !LANGUAGE: +InlineClasses -AllowResultInReturnType, -JvmInlineValueClasses diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType_1_4.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType_1_4.kt index b9a60ab03b1..8143417f656 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType_1_4.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/usageOfResultTypeInReturnType_1_4.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER, -UNUSED_EXPRESSION, -UNUSED_VARIABLE // !LANGUAGE: +InlineClasses +AllowResultInReturnType, -JvmInlineValueClasses diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.fir.kt index df89b3fd858..9b16d9b7648 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !OPT_IN: kotlin.RequiresOptIn // LANGUAGE: +OptInContagiousSignatures diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.kt index adfdd499cdc..a67863612fb 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsages.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !OPT_IN: kotlin.RequiresOptIn // LANGUAGE: +OptInContagiousSignatures diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.fir.kt index 13029a3f52e..b606163af97 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !OPT_IN: kotlin.RequiresOptIn // LANGUAGE: -OptInContagiousSignatures diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.kt index 898d07818f0..aea63d3da0b 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/implicitUsagesFuture.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !OPT_IN: kotlin.RequiresOptIn // LANGUAGE: -OptInContagiousSignatures diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectTargetsForExperimentalAnnotation.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectTargetsForExperimentalAnnotation.kt index 412a65d461d..97e144846b0 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectTargetsForExperimentalAnnotation.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectTargetsForExperimentalAnnotation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !OPT_IN: kotlin.RequiresOptIn // FILE: api.kt diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/subClassOptInRequired.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/subClassOptInRequired.kt index 0721c40f68a..2fff6bf35e1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/subClassOptInRequired.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/subClassOptInRequired.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL @RequiresOptIn annotation class Marker diff --git a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt index 005f1a1e622..7a3985fb487 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.fir.kt @@ -1,3 +1,4 @@ +// 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 76e67503d20..2f20eb5d1a5 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/experimental/wasExperimental.kt @@ -1,3 +1,4 @@ +// 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/inference/annotationsForResolve/notNullAnnotation.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt index 86ddd3a52a2..202bf90c80d 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -TypeEnhancementImprovementsInStrictMode // FILE: SmartFMap.java diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.kt index cfa77186243..3ad30bae5a1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/annotationsForResolve/notNullAnnotation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !LANGUAGE: -TypeEnhancementImprovementsInStrictMode // FILE: SmartFMap.java diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.fir.kt index 2de407aaef6..f9c58469372 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE import kotlin.reflect.KProperty diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.kt index 16c6f507053..5fe9cccbd3e 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/kt32345.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_VARIABLE import kotlin.reflect.KProperty diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt index ba6bf1bb067..2da0ef28ab3 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/kt38143.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE diff --git a/compiler/testData/diagnostics/testsWithStdLib/inference/performance/kt42195.kt b/compiler/testData/diagnostics/testsWithStdLib/inference/performance/kt42195.kt index 29e142ba54a..0409e79e71f 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/inference/performance/kt42195.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/inference/performance/kt42195.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL sealed class Tree { diff --git a/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContains.kt b/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContains.kt index 7345681fa1c..b86b03ce67c 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContains.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContains.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: -ProhibitConcurrentHashMapContains // FULL_JDK diff --git a/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContainsError.kt b/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContainsError.kt index 81e154b28db..4d2dd8c293d 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContainsError.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/java/concurrentHashMapContainsError.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !LANGUAGE: +ProhibitConcurrentHashMapContains // FULL_JDK diff --git a/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.fir.kt index 24db0a29c5c..98498c4cc1b 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.fir.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS class O : Function2 { override fun invoke(p1: Int, p2: String) { } diff --git a/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.kt b/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.kt index 8a8e1509ffa..ec65ffdc1b0 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/regression/ea70485_functionTypeInheritor.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS class O : Function2 { override fun invoke(p1: Int, p2: String) { } diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt index 487aec39f67..e29d1c9f63f 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/built-in-types-and-their-semantics/kotlin.unit/p-1/pos/1.1.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE -UNUSED_PARAMETER // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt index 09ee3bbf06c..191c1952623 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // SKIP_TXT // FILE: functions.kt diff --git a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt index f2e5ab6a926..e87aff53a35 100644 --- a/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt +++ b/compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/the-types-for-integer-literals/p-1/neg/2.5.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDE_IGNORE // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt index 51b9430afb5..3e7a05f1642 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.kt index c728cbaf77a..dc13051308a 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/neg/30.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_VARIABLE -UNUSED_VALUE // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt index 8090f83bde5..49d382d053e 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.kt index 7b08141ca5b..85488edf055 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/12.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt index dfe9c176bb4..f148c973394 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT diff --git a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.kt b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.kt index fcbd547f9d9..9b597148c9c 100644 --- a/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.kt +++ b/compiler/tests-spec/testData/diagnostics/notLinked/dfa/pos/13.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // !DIAGNOSTICS: -UNUSED_EXPRESSION // SKIP_TXT diff --git a/plugins/allopen/testData/diagnostics/kt54260.kt b/plugins/allopen/testData/diagnostics/kt54260.kt index d24058ef424..1feefb18bef 100644 --- a/plugins/allopen/testData/diagnostics/kt54260.kt +++ b/plugins/allopen/testData/diagnostics/kt54260.kt @@ -1,4 +1,5 @@ // FIR_IDENTICAL +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB annotation class AllOpen diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt index 87c7325bfff..a1a90d60008 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.CompanionWithFoo @CompanionWithFoo diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt index 19f5680b3aa..30d9df3fef4 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.NestedClassAndMaterializeMember @NestedClassAndMaterializeMember diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt index a0e3e587091..22843a49c1c 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package bar import foo.AllOpenGenerated diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt index 2569676e569..96004686f87 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package foo import org.jetbrains.kotlin.fir.plugin.DummyFunction diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt b/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt index dc1c7df4046..3a8cba90cba 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: first.kt @Open diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt b/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt index 529f9db9fd4..9ce5617cbcb 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.AllOpen @AllOpen diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt b/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt index 5599716ed02..dd364245289 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.AllOpen @AllOpen diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt b/plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt index 69745b43a92..476a9064c6c 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.AllPublic import org.jetbrains.kotlin.fir.plugin.Visibility diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt index 9354ea132a8..a243326eaf8 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FILE: main.kt package foo diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt index b589c86b29c..40de09d21f4 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package foo import org.jetbrains.kotlin.fir.plugin.MyInterfaceSupertype diff --git a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt index 1899d2665ca..6e5a53546d1 100644 --- a/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt +++ b/plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package foo import org.jetbrains.kotlin.fir.plugin.SupertypeWithTypeArgument diff --git a/plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt b/plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt index bf540162333..083ac99237b 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt b/plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt index 0de11f60c92..7e471e35bcb 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt b/plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt index d7d9aa291a1..6b4b5d4e15d 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt b/plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt index 3f515ad9408..f235ad0bf4f 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt b/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt index 724e7330cc6..d5445312570 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt b/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt index b33843a08ab..004d380f067 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt b/plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt index 523a8b1708d..6ad70455dc6 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt b/plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt index 123f4d1a75e..dbeb3a8983b 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // This test enshures that analysis ends up without compiler exceptions diff --git a/plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt b/plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt index 815a1e7367e..529f8074a20 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt b/plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt index 3f7ec34dd91..507ff3649a1 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.fir.kt b/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.fir.kt index 7155b4d22a1..0c9305915cd 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.fir.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // FIR_DIFFERENCE: KT-53861 // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt b/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt index 30e66f04a4f..fddb34330d3 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // FIR_DIFFERENCE: KT-53861 // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt b/plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt index 95242c14ed3..7c541e6d320 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt b/plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt index 235706b4d29..fecc63c582f 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt b/plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt index bb2baac4f16..d837e063d96 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt b/plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt index 59e8d8b0cb5..f9310587111 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt index bedfcbe0549..5cc3bdc22e8 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.fir.kt b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.fir.kt index 2f35ebe2574..71b835ad82f 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.fir.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt index e150e583c8b..b33eefeb397 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/Transients.kt b/plugins/kotlinx-serialization/testData/diagnostics/Transients.kt index ea7e8003a7b..6cb372d42a6 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/Transients.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/Transients.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // FILE: test.kt diff --git a/plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt b/plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt index f023e3eb7f6..bddc46faa63 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt b/plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt index d2c446461ae..ad1109c6b4d 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt b/plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt index a1707a898c2..e723ec321ce 100644 --- a/plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt +++ b/plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt @@ -1,4 +1,5 @@ // FIR_IDENTICAL +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB // SKIP_TXT diff --git a/plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt b/plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt index 4f04b083778..243a9f29f91 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt b/plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt index 7536eb85736..c5ffd6a1b1c 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt b/plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt index 635d7927592..006ec562444 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt b/plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt index 70e79aa1b4b..e3575908c47 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/enums.kt b/plugins/kotlinx-serialization/testData/firMembers/enums.kt index d3429676314..95a08263bc0 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/enums.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/enums.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB diff --git a/plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt b/plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt index ea980821ab6..0b4c3e0c229 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package com.example diff --git a/plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt b/plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt index ef5c5b41a19..18e1054109e 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt b/plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt index e2e63a5d84d..d780c0c3848 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt b/plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt index 6fd4e4bfe3d..d49c88ed7e5 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt b/plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt index 3a5b1492485..2c91e4ddcbe 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB /** diff --git a/plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt b/plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt index a6250b0991b..7e6aae52770 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt b/plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt index 07230296738..8a8a9a1c859 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB import kotlinx.serialization.* diff --git a/plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt b/plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt index 33ce6f70c2a..cfaa723b8bb 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package com.example diff --git a/plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt b/plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt index ee568f86b0c..756c6b8fc29 100644 --- a/plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt +++ b/plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // WITH_STDLIB package com.example diff --git a/plugins/noarg/testData/diagnostics/innerClass.fir.kt b/plugins/noarg/testData/diagnostics/innerClass.fir.kt index ad5bc3248d4..7e27b0869b9 100644 --- a/plugins/noarg/testData/diagnostics/innerClass.fir.kt +++ b/plugins/noarg/testData/diagnostics/innerClass.fir.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS annotation class NoArg class Outer { diff --git a/plugins/noarg/testData/diagnostics/innerClass.kt b/plugins/noarg/testData/diagnostics/innerClass.kt index f7bbfb9d26c..94408b10c83 100644 --- a/plugins/noarg/testData/diagnostics/innerClass.kt +++ b/plugins/noarg/testData/diagnostics/innerClass.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS annotation class NoArg class Outer { diff --git a/plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt b/plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt index aa164068e50..c76245ebae9 100644 --- a/plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt +++ b/plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt @@ -1,4 +1,5 @@ // FIR_IDENTICAL +// FIR_DISABLE_LAZY_RESOLVE_CHECKS annotation class NoArg open class Base(val s: String) diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt index d86fc86d39f..c23638513db 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt @@ -1,3 +1,4 @@ +// 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 c07e2aae632..a1d839a565a 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt @@ -1,3 +1,4 @@ +// 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 bca096f35d5..0c945ff99c4 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.fir.kt @@ -1,3 +1,4 @@ +// 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 e55bde21969..66446e0acf9 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt @@ -1,3 +1,4 @@ +// 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 a624a0a2ddd..434f061a25f 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt @@ -1,3 +1,4 @@ +// 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 9d0c49d878d..92f42d4b675 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt @@ -1,3 +1,4 @@ +// 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 3d7a333fdc7..9236e533f2d 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.fir.kt @@ -1,3 +1,4 @@ +// 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 34a8b1d4822..e4e6c414ff2 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt @@ -1,3 +1,4 @@ +// 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 f5da895a7f2..a05f7236599 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt @@ -1,3 +1,4 @@ +// 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 9da43785b1a..ae50f9046ca 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt @@ -1,3 +1,4 @@ +// 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 88167d57761..97949c6c8de 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt @@ -1,3 +1,4 @@ +// 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 198d8cba6e4..08a1e1ca2b3 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt index 2d8e453a6f2..1b1ee42a999 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.fir.kt @@ -1,3 +1,4 @@ +// 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 38441e5314e..aff8713db08 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package test import kotlinx.parcelize.Parcelize diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt index 0fe152f4373..d9656a41199 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt index 7accf7d15dc..363cbd672cb 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt @@ -1,3 +1,4 @@ +// 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 577c30961ca..99eabfb91d5 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test diff --git a/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt b/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt index 56b5288b25a..aa04e30bbfd 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt @@ -1,3 +1,4 @@ +// 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 e645a745617..2d6640643a3 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt @@ -1,3 +1,4 @@ +// 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 03c50ceb188..c08a167841f 100644 --- a/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt +++ b/plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // FIR_IDENTICAL package test