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