saveourtool/diktat
Voir sur GitHubUsage of standard type names in generics should be prohibited
Open
#1 344 ouverte le 3 juin 2022
enhancementgood first issuehelp wanted
Métriques du dépôt
- Stars
- (571 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
Quite confusing, isn't it?
fun<Int> foo(a: Int) {
}
Need to prohibit naming of generic types with standard Kotlin types (kotlin.kotlin_builtins)