saveourtool/diktat

WhiteSpaceRule doesn't cover some cases with comma

开放

#1,239 创建于 2022年3月21日

 (2 条评论) (0 个反应) (1 位负责人)Kotlin (40 个派生)github user discovery
enhancementgood first issuehelp wantedneeded

仓库指标

星标
 (571 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I have found a reproducer for https://github.com/analysis-dev/diktat/blob/5e2e2ed194a1f74904893ecd8a4c7dd4bb9afd57/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/files/WhiteSpaceRule.kt#L254-L255

[WARN ] 2022-03-21 18:01:16 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule
[WARN ] 2022-03-21 18:01:16 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule
[WARN ] 2022-03-21 18:01:17 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule
[WARN ] 2022-03-21 18:01:17 Colon with treeParent.elementType=DESTRUCTURING_DECLARATION_ENTRY, not handled by WhiteSpaceRule

However, I don't even know which file has caused this :(

贡献者指南