Change default upper bound of Java type parameters to Any!

#KT-7672 Fixed
This commit is contained in:
Denis Zharkov
2015-07-17 12:11:56 +03:00
parent 0e69ebb288
commit 97af85da9c
119 changed files with 326 additions and 205 deletions
+6 -6
View File
@@ -3,8 +3,8 @@ package test
public open class InnerOfGeneric {
public constructor InnerOfGeneric()
public abstract inner class A</*0*/ K> {
public constructor A</*0*/ K>()
public abstract inner class A</*0*/ K : kotlin.Any!> {
public constructor A</*0*/ K : kotlin.Any!>()
public abstract inner class Inner : test.InnerOfGeneric.S<K!> {
public constructor Inner()
@@ -12,8 +12,8 @@ public open class InnerOfGeneric {
}
}
public open inner class B</*0*/ L> : test.InnerOfGeneric.A<L!> {
public constructor B</*0*/ L>()
public open inner class B</*0*/ L : kotlin.Any!> : test.InnerOfGeneric.A<L!> {
public constructor B</*0*/ L : kotlin.Any!>()
public open inner class SubInner : test.InnerOfGeneric.A.Inner {
public constructor SubInner()
@@ -21,8 +21,8 @@ public open class InnerOfGeneric {
}
}
public open inner class S</*0*/ E> {
public constructor S</*0*/ E>()
public open inner class S</*0*/ E : kotlin.Any!> {
public constructor S</*0*/ E : kotlin.Any!>()
public open fun iterator(): kotlin.(Mutable)Iterator<E!>!
}
}