Also stdlib functions are generating this same warning, for example this code:
Copy code
private val people = hashMapOf(*listOf(
Person(1, "Frank", 30),
Person(2, "Domingo", 19),
Person(3, "Mariana", 22),
Person(4, "Lucia", 31)
).map { it.id to it }.toTypedArray())
Warning:(169, 27) Kotlin: It may be not safe to use 'kotlin.Pair<kotlin.Int, uy.kohesive.kovert.vertx.boot.test.Person>' as an argument for a reified type parameter. Use a non-generic type or * if possible