Type inference failed: Cannot infer type parameter T in
constructor Cons<`T, E : kotlin.Cloneable> | ( | l: MyList<`in T>, | t: T | ) | |||
None of the following substitutions | |||||||
( | MyList<`in kotlin.Any>, | kotlin.Any | ) | ||||
( | MyList<`in kotlin.Int>, | kotlin.Int | ) | ||||
can be applied to | |||||||
( | MyList<`kotlin.Int>, | kotlin.Any | ) |