You can not overload functions with generic types ...
# announcements
j
You can not overload functions with generic types in which the only difference is the supplied generic type (type erasure deletes them). For the compile the signature for both of them would be:
fun fun1(list: List<*>)
. You have to give them different names