mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
13 lines
272 B
Plaintext
Vendored
13 lines
272 B
Plaintext
Vendored
open class A() {
|
|
open val method : () -> Unit? = {println("hello")}
|
|
}
|
|
|
|
fun some() : A {
|
|
return object : A() {
|
|
override val method: () -> Unit?
|
|
get() = <selection><caret>super.method</selection>
|
|
}
|
|
}
|
|
|
|
// TODO: need better selection and caret
|