mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
process diamonds on safe delete of type parameter (IDEA-73968)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public class Test<T<caret>T> {}
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
Test<String> test = new Test<>();
|
||||
Test<String> test2 = new Test<String>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Test {}
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
Test test = new Test();
|
||||
Test test2 = new Test();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Test<<caret>T, U> {}
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
Test<String, Long> test = new Test<>();
|
||||
Test<String, Long> test2 = new Test<String, Long>();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Test<U> {}
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
Test<Long> test = new Test<>();
|
||||
Test<Long> test2 = new Test<Long>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user