From 18f8a239bda31aa70ce585db7b5655a7f74ceb42 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Mon, 18 Aug 2025 12:36:16 +0200 Subject: [PATCH] [kotlin] switch k2 compiler for CRI find usages tests in k2 plugin KTIJ-34371 GitOrigin-RevId: abce999d7b390b172a543868e5f42249b67b871a --- .../AbstractFindUsagesWithCompilerReferenceIndexTest.kt | 1 - .../nonBaseDeclarationFunctionAsPropName.0.kt | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/kotlin/compiler-reference-index/tests/test/org/jetbrains/kotlin/idea/search/refIndex/AbstractFindUsagesWithCompilerReferenceIndexTest.kt b/plugins/kotlin/compiler-reference-index/tests/test/org/jetbrains/kotlin/idea/search/refIndex/AbstractFindUsagesWithCompilerReferenceIndexTest.kt index a9de119e99bb..fbe1e9eb2905 100644 --- a/plugins/kotlin/compiler-reference-index/tests/test/org/jetbrains/kotlin/idea/search/refIndex/AbstractFindUsagesWithCompilerReferenceIndexTest.kt +++ b/plugins/kotlin/compiler-reference-index/tests/test/org/jetbrains/kotlin/idea/search/refIndex/AbstractFindUsagesWithCompilerReferenceIndexTest.kt @@ -25,7 +25,6 @@ abstract class AbstractFindUsagesWithCompilerReferenceIndexTest : KotlinCompiler } protected open val ignoreLog: Boolean get() = false - override val withK2Compiler: Boolean get() = false override fun getTestDataPath(): String = File(TestMetadataUtil.getTestDataPath(javaClass)).path diff --git a/plugins/kotlin/idea/tests/testData/findUsages/kotlin/findFunctionUsages/nonBaseDeclarationFunctionAsPropName.0.kt b/plugins/kotlin/idea/tests/testData/findUsages/kotlin/findFunctionUsages/nonBaseDeclarationFunctionAsPropName.0.kt index 1cbe589d8dee..2085d811efbb 100644 --- a/plugins/kotlin/idea/tests/testData/findUsages/kotlin/findFunctionUsages/nonBaseDeclarationFunctionAsPropName.0.kt +++ b/plugins/kotlin/idea/tests/testData/findUsages/kotlin/findFunctionUsages/nonBaseDeclarationFunctionAsPropName.0.kt @@ -11,3 +11,6 @@ fun foo(x: SomeXImpl) = x.smth // IGNORE_PLATFORM_JS: Java-specific code // IGNORE_PLATFORM_NATIVE: Java-specific code + +// KTIJ-35287 +// CRI_IGNORE \ No newline at end of file