Type inference failed: Cannot infer type parameter T in
fun <`T, E : Cloneable> writeToMyList ( l: MyList<`in T>, t: T ) : Unit where E : Closeable
None of the following substitutions
( MyList<`in Any>, Any )
( MyList<`in Int>, Int )
can be applied to
( MyList<`Int>, Any )