saveourtool/diktat

Usage of standard type names in generics should be prohibited

Open

#1,344 opened on 2022年6月3日

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)

説明

Quite confusing, isn't it?

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

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

コントリビューターガイド