Hm… For the regular function implicit conversion i...
# coroutines
e
Hm… For the regular function implicit conversion is actually performed:
Copy code
fun testFn(f: () -> Number) {}

fun main() {
    testFn({ 1 }) // ok
    val f = { 1 } // f: () -> Number
    testFn(f) // works, even though types differ
}