add test case for IDEA-CR-36995

This commit is contained in:
Alexey Kudravtsev
2018-09-17 13:25:29 +03:00
parent c60de2426a
commit 858e241d05
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// "Fix method 'foo' parameters with bounded wildcards" "true"
import java.util.List;
interface Xo<T> {
void foo(List<? super T> s);
}
public class ErrWarn implements Xo<String> {
public void <caret>foo(List<? super String> s) {
}
}

View File

@@ -0,0 +1,11 @@
// "Fix method 'foo' parameters with bounded wildcards" "true"
import java.util.List;
interface Xo<T> {
void foo(List<? super T> s);
}
public class ErrWarn implements Xo<String> {
public void <caret>foo(List<String> s) {
}
}