Given the following two lists
val listA = listOf<List<Int>>()
val listB = listOf(1, 2, 3)
and the following operation
val listC = listA + listB
I am adding a list with the type List<Int> to a list with the type List<List<Int>>. However, my IDE is telling me that the type of the resulting list C is List<Any> and not, as I expected, List<List<Int>>. Could someone explain to me why?