From bba80644132132eb8c03cf2c70e7be0bacff9a0b Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Wed, 4 Jan 2023 16:54:57 +0100 Subject: [PATCH] [FIR] mute lazy resolving contract check in a test where it was recently enabled --- .../testData/box/classWithCompanionObject.kt | 1 + .../testData/box/classWithGeneratedMembersAndNestedClass.kt | 2 ++ .../testData/box/generatedClassWithMembersAndNestedClasses.kt | 1 + .../testData/box/metaAnnotationFromLibrary.kt | 1 + plugins/fir-plugin-prototype/testData/box/newSupertype.kt | 2 ++ plugins/fir-plugin-prototype/testData/box/serializer.kt | 1 + plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt | 1 + 7 files changed, 9 insertions(+) diff --git a/plugins/fir-plugin-prototype/testData/box/classWithCompanionObject.kt b/plugins/fir-plugin-prototype/testData/box/classWithCompanionObject.kt index c31fc30fc20..c6adf39aee8 100644 --- a/plugins/fir-plugin-prototype/testData/box/classWithCompanionObject.kt +++ b/plugins/fir-plugin-prototype/testData/box/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/box/classWithGeneratedMembersAndNestedClass.kt b/plugins/fir-plugin-prototype/testData/box/classWithGeneratedMembersAndNestedClass.kt index 4292d5cd063..7087f7e574e 100644 --- a/plugins/fir-plugin-prototype/testData/box/classWithGeneratedMembersAndNestedClass.kt +++ b/plugins/fir-plugin-prototype/testData/box/classWithGeneratedMembersAndNestedClass.kt @@ -1,3 +1,5 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS + import org.jetbrains.kotlin.fir.plugin.NestedClassAndMaterializeMember @NestedClassAndMaterializeMember diff --git a/plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt b/plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt index c9e25b86abc..5925fc8caca 100644 --- a/plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt +++ b/plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // DUMP_IR package bar diff --git a/plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt b/plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt index 2df4b8312cc..8788e16199a 100644 --- a/plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt +++ b/plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS // MODULE: lib import org.jetbrains.kotlin.fir.plugin.AllOpen diff --git a/plugins/fir-plugin-prototype/testData/box/newSupertype.kt b/plugins/fir-plugin-prototype/testData/box/newSupertype.kt index 99aeb0d2a44..fc591eb4d17 100644 --- a/plugins/fir-plugin-prototype/testData/box/newSupertype.kt +++ b/plugins/fir-plugin-prototype/testData/box/newSupertype.kt @@ -1,3 +1,5 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS + package foo import org.jetbrains.kotlin.fir.plugin.MyInterfaceSupertype diff --git a/plugins/fir-plugin-prototype/testData/box/serializer.kt b/plugins/fir-plugin-prototype/testData/box/serializer.kt index ca5c4691b1f..35afd66833b 100644 --- a/plugins/fir-plugin-prototype/testData/box/serializer.kt +++ b/plugins/fir-plugin-prototype/testData/box/serializer.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS import org.jetbrains.kotlin.fir.plugin.CoreSerializer import org.jetbrains.kotlin.fir.plugin.MySerializable diff --git a/plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt b/plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt index 4c2ec3e59f3..618faa4ec20 100644 --- a/plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt +++ b/plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt @@ -1,3 +1,4 @@ +// FIR_DISABLE_LAZY_RESOLVE_CHECKS package foo import org.jetbrains.kotlin.fir.plugin.DummyFunction