In Java i can this: ``` try(Stream<String> s...
# announcements
i
In Java i can this:
Copy code
try(Stream<String> stream = Files.lines(path)) {
    stream.count();
}
so i expect that this should works too:
Copy code
Files.lines(path).use {}
But it didn't. Maybe because this is Auto Closable, and use extension defined only for Closable. What do you think about it?