10 lines
162 B
Kotlin
10 lines
162 B
Kotlin
fun test() {
|
|
class Test{
|
|
fun contains(fn: () -> Boolean) : Boolean = true
|
|
}
|
|
val test = Test()
|
|
test.c<caret>ontains {
|
|
true
|
|
}
|
|
}
|