// PROBLEM: none fun maybeFoo(): String? { return "foo" } fun main(args: Array) { var foo = maybeFoo() if (foo == null) null else foo?.length }