Find Usages: Skip overriden descriptors which have no corresponding declaration (EA-58371)

This commit is contained in:
Alexey Sedunov
2014-09-01 14:50:18 +04:00
parent f11621615b
commit ebcac73874
4 changed files with 31 additions and 16 deletions
@@ -418,6 +418,11 @@ public class JetFindUsagesTestGenerated extends AbstractJetFindUsagesTest {
doTest("idea/testData/findUsages/kotlin/findFunctionUsages/kotlinTopLevelMethodUsagesNoImport.0.kt");
}
@TestMetadata("synthesizedFunction.0.kt")
public void testSynthesizedFunction() throws Exception {
doTest("idea/testData/findUsages/kotlin/findFunctionUsages/synthesizedFunction.0.kt");
}
@TestMetadata("usagesOfBaseForFunction.0.kt")
public void testUsagesOfBaseForFunction() throws Exception {
doTest("idea/testData/findUsages/kotlin/findFunctionUsages/usagesOfBaseForFunction.0.kt");