diff options
Diffstat (limited to 'tests/pos/java-interop/t1711/Seq.scala')
-rw-r--r-- | tests/pos/java-interop/t1711/Seq.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pos/java-interop/t1711/Seq.scala b/tests/pos/java-interop/t1711/Seq.scala new file mode 100644 index 000000000..c18f05cd7 --- /dev/null +++ b/tests/pos/java-interop/t1711/Seq.scala @@ -0,0 +1,12 @@ +package com + +object Sequence { + + def filteringFunction[V](filter: V => Boolean): List[V] => List[V] = { + def include(v: V) = + filter(v) + (l: List[V]) => l.filter(include) + } + +} + |