non-reifiable type check: testdata for IDEA-139091

This commit is contained in:
Anna Kozlova
2015-04-27 09:32:26 +02:00
parent 435c501181
commit ad26842083
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,9 @@
import java.util.Map;
class Test {
void baz(){
bar(<error descr="Generic array creation">new Map<?, Integer>[3]</error>);
}
void bar(Map<?, Integer> ... x){ }
}