KT-12045 J2K: creating Object() instance could be converted to Any()

#KT-12045 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-28 19:55:36 +03:00
parent 76e067c43a
commit 92af610322
11 changed files with 85 additions and 48 deletions
@@ -0,0 +1,6 @@
class C {
void foo() {
Object o1 = new Object() {};
Object o2 = new Object();
}
}