new inference: don't start inference if new expression contains type args (IDEA-148621)

This commit is contained in:
Anna Kozlova
2015-11-30 19:41:58 +01:00
parent 3c0149acad
commit f5228ff75b
3 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
class Foo {
public static void main(final String[] args) {
new Bar<RuntimeException>();
}
public static class Bar<E extends Throwable> {
public Bar() throws E {}
}
}