method refs: missed qualifier substitution for return type (IDEA-140539)

This commit is contained in:
Anna Kozlova
2015-05-21 14:11:26 +02:00
parent a4030467cc
commit db72cccc97
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,10 @@
import java.util.function.Function;
class Test {
private void foo(final Function<String, String> steps) {
map(steps::compose);
}
<U> void map(Function<Function<String, String>, U> mapper) {}
}