FIR: Refactor nested scope, fix super-type resolving jump context

#KT-24017 Fixed
This commit is contained in:
Simon Ogorodnik
2018-03-20 20:55:11 +03:00
committed by Mikhail Glukhikh
parent f82ad6ac20
commit bc9175c4e8
10 changed files with 114 additions and 52 deletions
@@ -69,6 +69,12 @@ public class FirResolveTestCaseGenerated extends AbstractFirResolveTestCase {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/fir/resolve/multifile"), Pattern.compile("^([^.]+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("NestedSuperType.kt")
public void testNestedSuperType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/fir/resolve/multifile/NestedSuperType.kt");
doTest(fileName);
}
@TestMetadata("simpleAliasedImport.kt")
public void testSimpleAliasedImport() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/fir/resolve/multifile/simpleAliasedImport.kt");