Open
Description
val xAndY = for {
x <- managed(new Closeable { def close() { println("closing x...") } })
y <- managed(new Closeable { def close() { println("closing y...") } })
} yield (x, y)
for ((x, y) <- xAndY) {
println("using x and y")
}
cmd7.scala:1: value filter is not a member of resource.ManagedResource[(java.io.Closeable, java.io.Closeable)]
val res7 = for ((x, y) <- xAndY) {
^