nhaarman
06/27/2016, 9:01 PMa
parameter of test
inside the call
function in the following snippet?
interface MyInterface {
fun call(a: String): String
}
fun test(a: String) = object : MyInterface {
override fun call(a: String): String {
return a + a
}
}
Perhaps something with a label?