saveourtool/diktat

Usage of standard type names in generics should be prohibited

Open

#1344 aperta il 3 giu 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)Kotlin (40 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (571 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Quite confusing, isn't it?

    fun<Int> foo(a: Int) {
    }

Need to prohibit naming of generic types with standard Kotlin types (kotlin.kotlin_builtins)

Guida contributor