mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-58687
(cherry picked from commit 0be74138c6c6c288887944c26107a5d47bc5cd09)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class ExposeProblem {
|
||||
|
||||
public abstract class Parent<A>{}
|
||||
|
||||
public abstract class Child<B, A> extends Parent<A> {
|
||||
public <C> void method(final Parent<? extends B> f) {}
|
||||
public <C> void method(final Child<C, ? extends B> f) {}
|
||||
}
|
||||
|
||||
void call(){
|
||||
Child<String, Integer> f1 = null;
|
||||
Child<Integer, String> f2 = null;
|
||||
f1.method(f2); // <= This is where the error is shown.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user