method reference: don't start containing class parameter type inference for receiver-reference; corresponding substitutor should be already known (IDEA-146604; IDEA-147223)

This commit is contained in:
Anna Kozlova
2015-11-03 14:56:46 +01:00
parent d4f0daa29a
commit 2d21b7777e
4 changed files with 26 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class MyTest<T> {
return this;
}
public Builder<E> add(E... elements) {
public Builder<E> add(E... <warning descr="Parameter 'elements' is never used">elements</warning>) {
return this;
}
}