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
commit f0400eef68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -718,7 +718,7 @@ proc recompilePartially(graph: ModuleGraph, projectFileIdx = InvalidFileIdx) =
func deduplicateSymInfoPair[SymInfoPair](xs: seq[SymInfoPair]): seq[SymInfoPair] = func deduplicateSymInfoPair[SymInfoPair](xs: seq[SymInfoPair]): seq[SymInfoPair] =
# xs contains duplicate items and we want to filter them by range because the # 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 # 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) # for the same symbol (e. g. including/excluding the pragma)
result = @[] result = @[]
for itm in xs.reversed: for itm in xs.reversed: