diamonds with anonymous: ensure base type calculated over tree cause too much context should be created otherwise (IDEA-166600)

This commit is contained in:
Anna Kozlova
2017-01-18 11:21:35 +03:00
parent 326ad95830
commit 0339448167
3 changed files with 27 additions and 1 deletions
@@ -0,0 +1,11 @@
class Outer {
Comparable<String> f() {
return new Comparable<>() {
@Override
public int compareTo(String o) {
return 0;
}
};
}
}