Type inference failed: Cannot infer type parameter T in
fun <`T> bar | ( | t: T, | l: MutableList<`T> | ) | : Unit | ||
None of the following substitutions | |||||||
( | String, | MutableList<`String> | ) | ||||
( | Int, | MutableList<`Int> | ) | ||||
can be applied to | |||||||
( | Int, | MutableList<`String> | ) |