java completion: prefer method reference suggestions with exactly matching return type (IDEA-210581)

GitOrigin-RevId: 5522e5c103b72ea9d1a7c9ae860e504b6515b1da
This commit is contained in:
Peter Gromov
2020-06-17 20:39:35 +03:00
committed by intellij-monorepo-bot
parent fd0355b101
commit 112cdd0579
4 changed files with 26 additions and 5 deletions
@@ -0,0 +1,7 @@
class C {
void tryToSum() {
mapToDouble(<caret>)
}
void mapToDouble(java.util.function.ToDoubleFunction<Double> mapper) {}
}