KT-12054 J2K generates obj is Type<Any> instead of obj is Type<*>

#KT-12054 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-28 18:48:40 +03:00
parent a8eef5effc
commit 76e067c43a
11 changed files with 34 additions and 23 deletions
@@ -3,8 +3,8 @@
import java.util.HashSet
internal class Foo {
fun foo(o: HashSet<Any?>?) {
val o2: HashSet<Any?>? = o
fun foo(o: HashSet<*>?) {
val o2: HashSet<*>? = o
var foo: Int = 0
foo = o2!!.size
}