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