[FIR IDE] Use proper FirSessions in FirSupertypesResolution
Symbols might be from other modules, so we need to use corresponding `FirSession`s; otherwise it would be impossible to query symbols from `firProvider` ^KTIJ-21714 Fixed
This commit is contained in:
+18
@@ -284,6 +284,24 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/incorrectSuperCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inherentlyImportedTypeFromOtherModule.kt")
|
||||
public void testInherentlyImportedTypeFromOtherModule() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inherentlyImportedTypeFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inherentlyImportedTypeFromOtherModule2.kt")
|
||||
public void testInherentlyImportedTypeFromOtherModule2() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inherentlyImportedTypeFromOtherModule2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inherentlyImportedTypeFromOtherModule3.kt")
|
||||
public void testInherentlyImportedTypeFromOtherModule3() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/inherentlyImportedTypeFromOtherModule3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionScope.kt")
|
||||
public void testIntersectionScope() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user