Implement Abstract Member Intention: Support primary constructor parameters
#KT-8427 Fixed
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// WITH_RUNTIME
|
||||
// DISABLE-ERRORS
|
||||
interface T<X> {
|
||||
val <caret>foo: X
|
||||
}
|
||||
|
||||
class U : T<String> {
|
||||
|
||||
}
|
||||
|
||||
class V : T<Int> {
|
||||
|
||||
}
|
||||
|
||||
class Z : T<Int> by V() {
|
||||
|
||||
}
|
||||
|
||||
class W : T<Boolean> {
|
||||
override val foo: Boolean
|
||||
get() = throw UnsupportedOperationException()
|
||||
}
|
||||
Reference in New Issue
Block a user