mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
11 lines
150 B
Plaintext
11 lines
150 B
Plaintext
// From KT-1648
|
|
trait A {
|
|
val method:() -> Unit?
|
|
}
|
|
|
|
fun some() : A {
|
|
return object : A {
|
|
override val method: () -> Unit? = ?
|
|
}
|
|
}
|