Misc: Do not use resolved call of outer expression if current call expression has no callee

#KT-10105 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-20 16:15:58 +03:00
parent a01a18cb1a
commit b75665a96a
6 changed files with 53 additions and 0 deletions
@@ -145,6 +145,12 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest(fileName);
}
@TestMetadata("kt10105.kt")
public void testKt10105() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg/bugs/kt10105.kt");
doTest(fileName);
}
@TestMetadata("kt7761.kt")
public void testKt7761() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg/bugs/kt7761.kt");
@@ -147,6 +147,12 @@ public class PseudoValueTestGenerated extends AbstractPseudoValueTest {
doTest(fileName);
}
@TestMetadata("kt10105.kt")
public void testKt10105() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg/bugs/kt10105.kt");
doTest(fileName);
}
@TestMetadata("kt7761.kt")
public void testKt7761() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg/bugs/kt7761.kt");