blob: ebbb37f1cdb615be2b84842ebdca6808f6ea66e4 (
plain) (
blame)
1
2
3
4
5
6
|
object O { def filter(p: Int => Boolean): O.type = this }
class Test {
// should not compile because we no longer rewrite withFilter => filter under -Xfuture
O.withFilter(f => true)
}
|