Remove outdated test: generic property should have a receiver

This commit is contained in:
Natalia Ukhorskaya
2015-12-17 11:00:28 +03:00
parent 4b1edf7bb0
commit f84b3414c8
3 changed files with 0 additions and 24 deletions
@@ -1,8 +0,0 @@
// ERROR: Property must be initialized or be abstract
// ERROR: Type parameter of a property must be used in its receiver type
// WITH_RUNTIME
// SKIP_ERRORS_AFTER
class Owner<T> {
val <R> <caret>p: R
}
@@ -1,10 +0,0 @@
// ERROR: Property must be initialized or be abstract
// ERROR: Type parameter of a property must be used in its receiver type
// WITH_RUNTIME
// SKIP_ERRORS_AFTER
class Owner<T> {
}
val <T, R> Owner<T>.p: R
get() = <caret><selection>throw UnsupportedOperationException()</selection>
@@ -4774,12 +4774,6 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
doTest(fileName);
}
@TestMetadata("genericProperty.kt")
public void testGenericProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/declarations/convertMemberToExtension/genericProperty.kt");
doTest(fileName);
}
@TestMetadata("inFunctionBody.kt")
public void testInFunctionBody() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/declarations/convertMemberToExtension/inFunctionBody.kt");