package f fun g(i: Int, a: Any): List {throw Exception()} fun g(a: Any, i: Int): Collection {throw Exception()} fun test() { val c: List = g(1, 1) }