parent
afd4e22f76
commit
f0400eef68
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue