Join Slack
Powered by
I just hit a situation where I had something like ...
# announcements
j
jshmrsn
12/17/2015, 2:53 PM
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.
4
Views
Open in Slack
Previous
Next