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