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,8 @@
internal class C {
fun foo() {
val o1 = object : Any() {
}
val o2 = Any()
}
}