Fix group reference (with capital letters (#19196)

in group name)
This commit is contained in:
Andrey Makarov 2021-12-20 23:10:15 +03:00 • committed by GitHub
commit 19898e1225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 2 deletions

View file

@ -993,7 +993,7 @@ proc findMainAnchorNim(s: PRstSharedState, signature: PRstNode,
result.add s
else: # when there are many overloads a link like foo_ points to all
# of them, so selecting the group
var foundGroup = true
var foundGroup = false
for s in sList:
if s.langSym.isGroup:
result.add s