mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
error highlighting: fix accessibility for diamond constructors (IDEA-212188)
GitOrigin-RevId: 7193877427e50351a1171df12a431effc89b6bfd
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f4b69a198
commit
f2014af32f
+15
@@ -0,0 +1,15 @@
|
||||
interface Either {
|
||||
public static final class Left<L> {
|
||||
private final L value;
|
||||
|
||||
private Left(L value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Main {
|
||||
{
|
||||
new <error descr="'Left(L)' has private access in 'Either.Left'">Either.Left<></error>("");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user