[FIR] SupertypeComputationSession: fix false positive invisible reference for local object
The problem is that FirAnonymousObject was ignored during getResolvedSuperTypeRefsForOutOfSessionDeclaration from SupertypeSupplier ^KT-58583 Fixed
This commit is contained in:
committed by
Space Team
parent
c6d9821ef0
commit
2c294cba64
+6
@@ -597,6 +597,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/kt57214.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt58583.kt")
|
||||
public void testKt58583() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/kt58583.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LValueAssignment.kt")
|
||||
public void testLValueAssignment() throws Exception {
|
||||
|
||||
+6
@@ -597,6 +597,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/kt57214.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt58583.kt")
|
||||
public void testKt58583() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/kt58583.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LValueAssignment.kt")
|
||||
public void testLValueAssignment() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user