saveourtool/diktat

Usage of standard type names in generics should be prohibited

Open

#1,344 opened on Jun 3, 2022

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Kotlin (40 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (571 stars)
PR merge metrics
 (PR metrics pending)

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)

Contributor guide