Redeclaration errors for type aliases: type alias vs property.

This commit is contained in:
Dmitry Petrov
2016-06-09 12:17:54 +03:00
parent 9470308fe7
commit 5ad4c8b9c7
3 changed files with 36 additions and 0 deletions
@@ -13908,6 +13908,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("TypeAliasVsProperty.kt")
public void testTypeAliasVsProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/redeclarations/TypeAliasVsProperty.kt");
doTest(fileName);
}
@TestMetadata("typeParameterWithTwoBounds.kt")
public void testTypeParameterWithTwoBounds() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/redeclarations/typeParameterWithTwoBounds.kt");