Type inference failed: Cannot infer type parameter T in
| fun <T, E : java.lang.Cloneable> writeToMyList | ( | l: MyList<in T>, | t: T | ) | : jet.Unit where 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 | ) | ||||