Remove outdated test: generic property should have a receiver
This commit is contained in:
-8
@@ -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
|
|
||||||
}
|
|
||||||
-10
@@ -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);
|
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")
|
@TestMetadata("inFunctionBody.kt")
|
||||||
public void testInFunctionBody() throws Exception {
|
public void testInFunctionBody() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/declarations/convertMemberToExtension/inFunctionBody.kt");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/intentions/declarations/convertMemberToExtension/inFunctionBody.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user