Generate proper error candidates for type aliases

#KT-17745 Fixed Target versions 1.1.5
This commit is contained in:
Dmitry Petrov
2017-07-19 15:34:49 +03:00
parent b4d8337ca5
commit c9d54d7110
6 changed files with 52 additions and 21 deletions
@@ -22951,6 +22951,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("typeAliasConstructorForInterface.kt")
public void testTypeAliasConstructorForInterface() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/typeAliasConstructorForInterface.kt");
doTest(fileName);
}
@TestMetadata("typeAliasConstructorForProjection.kt")
public void testTypeAliasConstructorForProjection() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/typeAliasConstructorForProjection.kt");