Support overrides of generic methods with erased version in Java

This commit is contained in:
Denis Zharkov
2015-12-03 15:02:04 +03:00
parent 4f06cece37
commit 95cecdbc42
18 changed files with 252 additions and 14 deletions
@@ -4,8 +4,7 @@ public interface OverrideWithErasedParameter {
public interface Sub</*0*/ T : kotlin.Any!> : test.OverrideWithErasedParameter.Super<T!> {
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: T!): kotlin.Unit
public abstract fun foo(/*0*/ p0: kotlin.Any!): kotlin.Unit
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.Any!): kotlin.Unit
}
public interface Super</*0*/ T : kotlin.Any!> {