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