mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
13 lines
279 B
Plaintext
Vendored
13 lines
279 B
Plaintext
Vendored
// From KT-1648
|
|
interface A {
|
|
val method:() -> Unit?
|
|
}
|
|
|
|
fun some() : A {
|
|
return object : A {
|
|
override val method: () -> Unit?
|
|
get() = <selection><caret>throw UnsupportedOperationException()</selection>
|
|
}
|
|
}
|
|
|
|
// TODO: need better selection and caret |