robstoll
03/12/2018, 11:01 AMAliased class should not have type parameters with declaration-site variance
common looks as follows:
expect class PeekingIterator<out T> : Iterator<T> {
fun peek(): T
}
and jvm as follows:
actual typealias PeekingIterator<T> = ch.tutteli.kbox.PeekingIterator<T>
What can I do? Am I out of luck?