Rewrite Java resolve to use static class scope instead of synthesized packages
#KT-4149 Fixed #KT-4839 Fixed
This commit is contained in:
@@ -2,30 +2,29 @@ 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 Inner : test.InnerOfGeneric.S<K> {
|
||||
public constructor Inner()
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<K>?
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public open inner class B</*0*/ L> : test.InnerOfGeneric.A<L> {
|
||||
public constructor B</*0*/ L>()
|
||||
|
||||
|
||||
public open inner class SubInner : test.InnerOfGeneric.A.Inner {
|
||||
public constructor SubInner()
|
||||
public open override /*1*/ fun iterator(): kotlin.MutableIterator<L>?
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public trait S</*0*/ E> {
|
||||
public abstract fun iterator(): kotlin.MutableIterator<E>?
|
||||
}
|
||||
}
|
||||
|
||||
package test.InnerOfGeneric {
|
||||
public /*synthesized*/ fun </*0*/ E> S(/*0*/ function: () -> kotlin.MutableIterator<E>?): test.InnerOfGeneric.S<E>
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun </*0*/ E> S(/*0*/ function: () -> kotlin.MutableIterator<E>?): test.InnerOfGeneric.S<E>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user