We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c959153 commit 636a33cCopy full SHA for 636a33c
code-quality/src/main/kotlin/cc/unitmesh/quality/comment/rule/MissingParameterDescRule.kt
@@ -35,7 +35,7 @@ class MissingParameterDescRule : CommentRule() {
35
}
36
37
val matchNames = matches.map { it.groupValues[1] }.toSet()
38
- val nodeNames = node.Parameters.map { it.TypeType }.toSet()
+ val nodeNames = node.Parameters.map { it.TypeValue }.toSet()
39
40
if (matchNames != nodeNames) {
41
callback(this, IssuePosition())
code-quality/src/test/kotlin/cc/unitmesh/quality/comment/rule/MissingParameterDescRuleTest.kt
@@ -95,4 +95,4 @@ class IssueEmitCallback : IssueEmit {
95
override fun invoke(rule: Rule, position: IssuePosition) {
96
hasIssue = true
97
98
-}
+}
0 commit comments