[FIR] Properly handle declarations from other source sessions in FirPredicateBasedProvider

^KT-57083 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-03-16 14:19:55 +02:00
committed by Space Team
parent 644391a8e0
commit 507ef3e951
4 changed files with 41 additions and 0 deletions
@@ -134,6 +134,12 @@ public class SerializationFirPsiDiagnosticTestGenerated extends AbstractSerializ
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
}
@Test
@TestMetadata("serializerFromOtherModule.kt")
public void testSerializerFromOtherModule() throws Exception {
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
}
@Test
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
public void testSerializerTypeCompatibleForSpecials() throws Exception {
@@ -132,6 +132,12 @@ public class SerializationPluginDiagnosticTestGenerated extends AbstractSerializ
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
}
@Test
@TestMetadata("serializerFromOtherModule.kt")
public void testSerializerFromOtherModule() throws Exception {
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
}
@Test
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
public void testSerializerTypeCompatibleForSpecials() throws Exception {