Fix typo in nimsuggest.nim (#20767)

becase -> because
This commit is contained in:
Ikko Ashimine
2022-11-06 04:32:28 +09:00
committed by GitHub
parent afd4e22f76
commit f0400eef68

View File

@@ -718,7 +718,7 @@ proc recompilePartially(graph: ModuleGraph, projectFileIdx = InvalidFileIdx) =
func deduplicateSymInfoPair[SymInfoPair](xs: seq[SymInfoPair]): seq[SymInfoPair] =
# xs contains duplicate items and we want to filter them by range because the
# sym may not match. This can happen when xs contains the same definition but
# with different signature becase suggestSym might be called multiple times
# with different signature because suggestSym might be called multiple times
# for the same symbol (e. g. including/excluding the pragma)
result = @[]
for itm in xs.reversed: