Is it possible to access the `a` parameter of `tes...
# announcements
n
Is it possible to access the
a
parameter of
test
inside the
call
function in the following snippet?
Copy code
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?