saveourtool/diktat

Unused arguments in lambda should not have types

Offen

#1.172 geöffnet am 17.01.2022

 (6 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Kotlin (40 Forks)github user discovery
documentationenhancementgood first issue

Repository-Metriken

Stars
 (571 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide