Add a test for an obsolete issue
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package test;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
public class InnerOfGeneric {
|
||||
public interface S<E> {
|
||||
Iterator<E> iterator();
|
||||
}
|
||||
|
||||
public abstract class A<K> {
|
||||
public abstract class Inner implements S<K> {
|
||||
}
|
||||
}
|
||||
|
||||
public class B<L> extends A<L> {
|
||||
public class SubInner extends Inner {
|
||||
@Override
|
||||
public Iterator<L> iterator() {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package test
|
||||
|
||||
public open class InnerOfGeneric : java.lang.Object {
|
||||
public constructor InnerOfGeneric()
|
||||
|
||||
public abstract inner class A</*0*/ K> : java.lang.Object {
|
||||
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> : java.lang.Object {
|
||||
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>
|
||||
}
|
||||
Reference in New Issue
Block a user