Join Slack
Powered by
<@U3669PPNG> commented on <@U3E25GSEP>’s file <htt...
# getting-started
u
user
02/27/2017, 6:34 PM
@nkiesel
commented on
@robin
’s file
https://kotlinlang.slack.com/files/U3E25GSEP/F4A560U65/totally_overkill_version_for_arbitrary_numbers_of_closeables_.kt
: still has the problem that there is no way to reference any but the last Closeable in the block or even the "inner" Closeable. Thus, I still can't see how to really use this in practice: how would
try (Connection c = getC(); ResultSet r = getR(c)) { r.getString(1) }
be converted into Kotlin usingyour
use
?
Totally_overkill_version_for_arbitrary_numbers_of_Closeables_.kt
2
Views
Open in Slack
Previous
Next