I just hit a situation where I had something like ...
# announcements
j
I just hit a situation where I had something like
Copy code
val foo = try { "foo" } catch { println("error!") System.exit(1) }
and Kotlin was saying foo was String?, not String, because of the catch case.