Relax rules for type parameters in property receivers

This commit is contained in:
Stanislav Erokhin
2016-01-22 15:34:41 +03:00
parent 30bb8d4828
commit f688b1b786
6 changed files with 91 additions and 11 deletions
@@ -18153,6 +18153,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("propertyTypeParametersWithUpperBounds.kt")
public void testPropertyTypeParametersWithUpperBounds() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typeParameters/propertyTypeParametersWithUpperBounds.kt");
doTest(fileName);
}
@TestMetadata("repeatedBound.kt")
public void testRepeatedBound() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typeParameters/repeatedBound.kt");