mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 10:21:05 +07:00
inference: ensure to distinguish new fresh variables of the same node
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
class MyTest<T> {
|
||||
{
|
||||
create<error descr="'create(java.util.Comparator<T>)' in 'MyTest' cannot be applied to '(java.util.Comparator<T>)'">(Comparator.naturalOrder())</error>;
|
||||
}
|
||||
|
||||
static <T> void create(Comparator<T> c) {}
|
||||
}
|
||||
Reference in New Issue
Block a user