@gypsydave5 If this test is worth adding to the Kotlin track, presumably it is worth it to add it to other tracks as well. If you agree with this, you might want to propose to add this test to the canonical test data, i.e. exercism/problem-specifications, instead.
I expected the canonical data to cover more types, but it turns out only integers, null, and arrays are covered
A test that uses, say, characters instead of integers might also (in large part) solve your problem, but might be more compatible with some other languages.
I’d suggest either changing the signature to List<T?> and pop a test in to handle another type in a homogenous list (which should work for other language tracks too…?)
Or leave the signature with a List<Any?> and add a hetrogenous list test (as in the PR).