41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
13 lines
212 B
Kotlin
13 lines
212 B
Kotlin
fun Any.with(operation : Any.() -> Any) = operation().toString()
|
|
|
|
val f = { (a : Int) :Unit -> }
|
|
|
|
fun box () : String {
|
|
return if(20.with {
|
|
this
|
|
} == "20")
|
|
"OK"
|
|
else
|
|
"fail"
|
|
}
|