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