fun foo(a: String) {} inline fun generic() = null as T fun main() { foo(a = generic()) }