mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 21:00:59 +07:00
graph inference: recursive calls (IDEA-119834)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
public class Bug
|
||||
{
|
||||
|
||||
interface I<K>{}
|
||||
public static <CRN>I<CRN> create(final I<CRN> it)
|
||||
{
|
||||
final I<CRN> f = null;
|
||||
|
||||
Bug.<String>create(fn<error descr="'fn(Bug.I<java.lang.String>)' in 'Bug' cannot be applied to '(Bug.I<CRN>)'">(f)</error>);
|
||||
|
||||
return create(fn(f));
|
||||
|
||||
}
|
||||
|
||||
private static <FN>I<FN> fn(final I<FN> f)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user