mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
enable diamonds with anonymous (IDEA-139098)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class Pos {
|
||||
class Member<X> {}
|
||||
|
||||
static class Nested<X> {}
|
||||
|
||||
void testSimple() {
|
||||
Member<?> m1 = new Member<>() {};
|
||||
Nested<?> m2 = new Nested<>() {};
|
||||
}
|
||||
|
||||
void testQualified() {
|
||||
Member<?> m1 = this.new Member<>() {};
|
||||
Nested<?> m2 = new Pos.Nested<>() {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user