We had a discussion about this question two months ago, Andrey said there are no plans to support the try-with-resources.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Try-with-resources: the Kotlin way?
|
5 | 7686 | November 21, 2014 | |
Kotlin needs try-with-resources | 56 | 38329 | September 10, 2020 | |
[SOLVED] Try with resources with `AutoClosable` | 3 | 6443 | December 7, 2017 | |
Concise way to manage resource with exception in kotlin | 11 | 10438 | December 5, 2017 | |
Is there standard way to use multiple resources? | 5 | 9951 | February 19, 2021 |