Don't ruin highlighting if there's no descriptor in resolve session

#EA-61683 Fixed
This commit is contained in:
Nikolay Krasko
2014-10-14 15:11:29 +04:00
parent b1e452b568
commit c5852152b2
3 changed files with 20 additions and 2 deletions
@@ -38,6 +38,12 @@ public class LineMarkersTestGenerated extends AbstractLineMarkersTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/codeInsight/lineMarker"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("BadCodeNoExceptions.kt")
public void testBadCodeNoExceptions() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/codeInsight/lineMarker/BadCodeNoExceptions.kt");
doTest(fileName);
}
@TestMetadata("Class.kt")
public void testClass() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/testData/codeInsight/lineMarker/Class.kt");