KT-6815 Representing raw types when used as supertypes for Java classes

#KT-6815 Fixed
This commit is contained in:
Andrey Breslav
2015-03-02 19:31:02 +03:00
parent 7c62d8ed83
commit 61989ba245
14 changed files with 196 additions and 33 deletions
@@ -9,7 +9,7 @@ public interface Bar {
//FILE: a.kt
class BarImpl: Bar {
override fun f(f: Foo<out CharSequence?>?) {
override fun f(f: Foo<*>?) {
throw UnsupportedOperationException()
}
}
@@ -12,7 +12,7 @@ public trait Bar {
internal final class BarImpl : Bar {
public constructor BarImpl()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ fun f(/*0*/ f: Foo<out kotlin.CharSequence?>?): kotlin.Unit
public open override /*1*/ fun f(/*0*/ f: Foo<*>?): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}