class F(a: Int?) { val b = a val c = if (b != null) b.toString() else null } fun main(args: Array) { F(1).c }