mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
proceed to check method call args if unknown type args were specified in java 7 (IDEA-97521)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class TcpConnection extends ClientConnection {
|
||||
ConnectionEventDelegate<? extends ClientConnection> eventDelegate;
|
||||
{
|
||||
eventDelegate.<ClientConnection> onDisconnect<error descr="'onDisconnect(capture<? extends ClientConnection>)' in 'ConnectionEventDelegate' cannot be applied to '(TcpConnection)'">(this)</error>;
|
||||
}
|
||||
}
|
||||
|
||||
class ClientConnection {}
|
||||
interface ConnectionEventDelegate<T extends ClientConnection> {
|
||||
void onDisconnect(T t);
|
||||
}
|
||||
Reference in New Issue
Block a user