Skip to content

Commit

Permalink
consistent var name
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Nov 24, 2022
1 parent 6ba863f commit 12ed33f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diagnostic.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ func diagnosticMissingMembers(missingMembers map[string]struct{}, em enumMembers

var groups []string
for _, names := range byConstVal(missingMembers, em.NameToValue) {
group := inASTOrder(names, astPositions)
groups = append(groups, strings.Join(group, "|"))
group := strings.Join(inASTOrder(names, astPositions), "|")
groups = append(groups, group)
}
return inASTOrder(groups, astPositions)
}
Expand Down

0 comments on commit 12ed33f

Please sign in to comment.