mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
take into account container class type parameters: return type
detection if return type mentions type parameters should include types specified on outer class
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Outer<T> {
|
||||
private class Inner{}
|
||||
|
||||
{
|
||||
Outer<String>.Inner inner = foo(foo(null));
|
||||
}
|
||||
|
||||
private static <K> Outer<K>.Inner foo(Outer<K>.Inner u){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user