saveourtool/diktat

Unused arguments in lambda should not have types

开放

#1,172 创建于 2022年1月17日

 (6 条评论) (0 个反应) (1 位负责人)Kotlin (40 个派生)github user discovery
documentationenhancementgood first issue

仓库指标

星标
 (571 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南