the use() extension method seems to be defined on ...
# announcements
n
the use() extension method seems to be defined on Closeable instead of AutoCloseable So that Means I can't do Files.list(path).use { it.toString() }. In fact I can't use on any Stream? Am I misunderstanding what is going on?
m
The
use
extension on
AutoCloseable
exists in the
kotlinx-support-jdk7
library.
n
I see.. Thanks Marius!