[FIR] Transform children independently when callee is an error
To make sure all possible types are resolved and any additional errors are reported, resolve children of function calls using independent resolution mode when the callee reference is an error. #KT-59041 Fixed
This commit is contained in:
+6
@@ -14428,6 +14428,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/incompleteCode/kt4866UnresolvedArrayAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59041.kt")
|
||||
public void testKt59041() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/incompleteCode/kt59041.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoSenselessComparisonForErrorType.kt")
|
||||
public void testNoSenselessComparisonForErrorType() throws Exception {
|
||||
|
||||
+6
@@ -14428,6 +14428,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/incompleteCode/kt4866UnresolvedArrayAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59041.kt")
|
||||
public void testKt59041() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/incompleteCode/kt59041.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoSenselessComparisonForErrorType.kt")
|
||||
public void testNoSenselessComparisonForErrorType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user