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