fix erasure of captures special case, not valid anymore for new compilers (IDEA-131348)

(cherry picked from commit 0f357add956c0340ce08c79a14c052007e53be86)
This commit is contained in:
Anna Kozlova
2014-10-16 15:42:29 +02:00
parent 524c5a4c4d
commit bc8a70e89f
2 changed files with 5 additions and 3 deletions

View File

@@ -4,10 +4,10 @@ class Test {
}
static void foo(final A<?> bar) {
bar._("");
bar._<error descr="Cannot resolve method '_(java.lang.String)'">("")</error>;
}
static void foo1(final A<? extends String> bar) {
bar._("");
bar._<error descr="Cannot resolve method '_(java.lang.String)'">("")</error>;
}
static void foo2(final A<? extends Integer> bar) {