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>
|
||||
Reference in New Issue
Block a user