Skip to content

Commit 12ed33f

Browse files
author
Nishanth Shanmugham
committed
consistent var name
1 parent 6ba863f commit 12ed33f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diagnostic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ func diagnosticMissingMembers(missingMembers map[string]struct{}, em enumMembers
4646

4747
var groups []string
4848
for _, names := range byConstVal(missingMembers, em.NameToValue) {
49-
group := inASTOrder(names, astPositions)
50-
groups = append(groups, strings.Join(group, "|"))
49+
group := strings.Join(inASTOrder(names, astPositions), "|")
50+
groups = append(groups, group)
5151
}
5252
return inASTOrder(groups, astPositions)
5353
}

0 commit comments

Comments
 (0)