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