saveourtool/diktat

Unused arguments in lambda should not have types

オープン

#1,172 opened on 2022/01/17

 (6 件のコメント) (0 件のリアクション) (1 人の担当者)Kotlin (40 件のフォーク)github user discovery
documentationenhancementgood first issue

Repository metrics

Stars
 (571 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

This is a great stylistic bug, that is not handled by IDEA:

foo {_, _: Int, a: Int - > println("hi") }

diktat should detect and remove a type of such anonymous arguments (_: Int)

This should also be added to the code style

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