saveourtool/diktat
Unused arguments in lambda should not have types
Ouverte
#1 172 ouverte le 17 janv. 2022
documentationenhancementgood first issue
Métriques du dépôt
- Stars
- (571 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
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