mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 06:39:38 +07:00
overload resolution: ensure type parameters of containing class are fixed during most specific inference (IDEA-205886)
GitOrigin-RevId: 01b3a6f25c68e27475a053c74a7765e84147beca
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e530259307
commit
b540bb262e
@@ -0,0 +1,13 @@
|
||||
class MyTest {
|
||||
|
||||
static class Foo<X> {
|
||||
<T> void test(X x) { }
|
||||
}
|
||||
static class Bar extends Foo<Integer> {
|
||||
void test(Double x) { }
|
||||
|
||||
void call() {
|
||||
test<error descr="Ambiguous method call: both 'Bar.test(Double)' and 'Foo.test(Integer)' match">(null)</error>;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user