mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java] skip diamond inference for constructor calls of static nested classes
EA-246216 - T: JavaMethodsConflictResolver.resolveConflict GitOrigin-RevId: 5fc2f7118bf68a1d0b9f80bfcbbbfa768fc6bea8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c378f327ff
commit
5a29d515fc
@@ -0,0 +1,11 @@
|
||||
class R<T> {
|
||||
static class O {
|
||||
public O(<error descr="'R.this' cannot be referenced from a static context">T</error> t) {
|
||||
}
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
test(new R<>.O<error descr="'O(java.lang.Object)' in 'R.O' cannot be applied to '()'">()</error>);
|
||||
}
|
||||
|
||||
private static void test(R.O o) {}
|
||||
}
|
||||
Reference in New Issue
Block a user