Files
kotlin-fork/idea/testData/intentions/implementAsConstructorParameter/implementAll.kt.after
T
Alexander Podkhalyuzin baa0f2dc1b Override completion in expect class should behave differently
Caret placement is at the end of new fun/property

#KT-25313 Fixed
2018-09-10 14:23:48 +03:00

22 lines
312 B
Plaintext
Vendored

// WITH_RUNTIME
// DISABLE-ERRORS
interface T<X> {
val foo: X
}
class U(override val foo: String) : T<String> {
}
class V(override val foo: Int<caret>) : T<Int> {
}
class Z : T<Int> by V() {
}
class W : T<Boolean> {
override val foo: Boolean
get() = throw UnsupportedOperationException()
}