Report errors for type parameters of properties that are not used in receiver types

This commit is contained in:
Pavel V. Talanov
2015-10-12 14:18:45 +03:00
parent b5537e7d42
commit be15399313
6 changed files with 101 additions and 0 deletions
@@ -15805,6 +15805,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("propertyTypeParameters.kt")
public void testPropertyTypeParameters() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typeParameters/propertyTypeParameters.kt");
doTest(fileName);
}
@TestMetadata("upperBoundCannotBeArray.kt")
public void testUpperBoundCannotBeArray() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typeParameters/upperBoundCannotBeArray.kt");