mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
overload resolution: reject java 8 varargs methods when they are checked by fixed arity and number of parameters doesn't match
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Demo {
|
||||
|
||||
public void f1() {
|
||||
f2<error descr="Cannot resolve method 'f2(int, <lambda expression>)'">(2, input -> input)</error>;
|
||||
f2(2, <error descr="Target type of a lambda conversion must be an interface">input -> input</error>);
|
||||
}
|
||||
|
||||
public void f2() {
|
||||
|
||||
Reference in New Issue
Block a user