disable fixes when target types depend on unresolved type params (IDEA-185967)

This commit is contained in:
Anna Kozlova
2018-02-01 12:21:12 +03:00
parent d56a45311d
commit 30464d6b08
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
// "Cast parameter to 'M'" "false"
class a {
void doSomething(String[] data) {}
void test() {
doSomething(Li<caret>st.of(""));
}
interface List<L> {
static <M> List<M> of(M... ms) {
return null;
}
}
}