baa0f2dc1b
Caret placement is at the end of new fun/property #KT-25313 Fixed
22 lines
312 B
Plaintext
Vendored
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()
|
|
} |