fun foo(n: Number) = n fun test() { foo('a') val c = 'c' foo(c) val d: Char? = 'd' foo(d!!) }