pavi2410
10/12/2019, 10:55 PMmix
variable)ilya.gorbunov
10/13/2019, 1:03 AMList<Any>
because
T
is inferred to Any
in all of these cases.
You pass a companion object as a receiver and values of some other types (String or Int) as parameters. Int.Companion
and Int
have Any
as the common supertype.