Control-Flow: Compute type predicates for arguments of unresolved calls

This commit is contained in:
Alexey Sedunov
2015-05-20 16:14:21 +03:00
parent 036e2c585b
commit b6ea2d4fd4
10 changed files with 397 additions and 2 deletions
@@ -616,6 +616,18 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest(fileName);
}
@TestMetadata("unresolvedCalls.kt")
public void testUnresolvedCalls() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedCalls.kt");
doTest(fileName);
}
@TestMetadata("unresolvedCallsWithReceiver.kt")
public void testUnresolvedCallsWithReceiver() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedCallsWithReceiver.kt");
doTest(fileName);
}
@TestMetadata("unresolvedProperty.kt")
public void testUnresolvedProperty() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedProperty.kt");
@@ -618,6 +618,18 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest(fileName);
}
@TestMetadata("unresolvedCalls.kt")
public void testUnresolvedCalls() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedCalls.kt");
doTest(fileName);
}
@TestMetadata("unresolvedCallsWithReceiver.kt")
public void testUnresolvedCallsWithReceiver() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedCallsWithReceiver.kt");
doTest(fileName);
}
@TestMetadata("unresolvedProperty.kt")
public void testUnresolvedProperty() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/cfg/expressions/unresolvedProperty.kt");