KT-14352 Record short reference to companion object via type alias,

so that it would be checked properly.
This commit is contained in:
Dmitry Petrov
2016-10-14 11:55:42 +03:00
parent ac675784c1
commit 753a558bcb
8 changed files with 88 additions and 24 deletions
@@ -19574,6 +19574,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("typealiasesAsCompanionObjects.kt")
public void testTypealiasesAsCompanionObjects() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion/typealiasesAsCompanionObjects.kt");
doTest(fileName);
}
@TestMetadata("typealiasesAsConstructors.kt")
public void testTypealiasesAsConstructors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/sourceCompatibility/apiVersion/typealiasesAsConstructors.kt");