mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata for IDEA-139222
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Test {
|
||||
void bar() {
|
||||
baz<error descr="'baz(S)' in 'Test' cannot be applied to '(java.io.Serializable & java.lang.Comparable<? extends java.io.Serializable & java.lang.Comparable<? extends java.lang.Comparable<?>>>)'">(foo(1, ""))</error>;
|
||||
}
|
||||
|
||||
<T> T foo(T x, T y) {
|
||||
return x;
|
||||
}
|
||||
|
||||
<S extends Comparable<S>> void baz(S x) { }
|
||||
}
|
||||
Reference in New Issue
Block a user