mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
erasure return type when unchecked conversion was required deep inside (IDEA-168316)
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// "Replace with <>" "false"
|
||||
class Foo<Z> {
|
||||
void foo(final Bar baz) {
|
||||
Z z = z(new Bar<St<caret>ring>(baz));
|
||||
}
|
||||
|
||||
<P> Bar<P> c(Bar<P> b) {
|
||||
return b;
|
||||
}
|
||||
|
||||
private <X> Z z(Bar<X> b) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class Bar<T> {
|
||||
public Bar(Bar<T> v) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user