K2: Postpone inference forks resolution until FULL completion
It helps to use expected type information when choosing the branch even in the nested calls ^KT-43296 In Progress
This commit is contained in:
committed by
Space Team
parent
c958c79362
commit
10d63cc52a
+6
@@ -14282,6 +14282,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/inference/smartCastForkForExpectType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastForkForExpectedTypeNested.kt")
|
||||
public void testSmartCastForkForExpectedTypeNested() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/smartCastForkForExpectedTypeNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specialCallsWithCallableReferences.kt")
|
||||
public void testSpecialCallsWithCallableReferences() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user