fixes nimsuggest/#108: RangeError with d:release
This commit is contained in:
parent
fa5707e7e2
commit
a9c7fb2fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ proc suggestSentinel*(c: PContext) =
|
|||
var pm: PrefixMatch
|
||||
if filterSymNoOpr(it, nil, pm):
|
||||
outputs.add(symToSuggest(c.config, it, isLocal = isLocal, ideSug,
|
||||
newLineInfo(c.config.m.trackPos.fileIndex, -1, -1), 0,
|
||||
newLineInfo(c.config.m.trackPos.fileIndex, 0, -1), 0,
|
||||
PrefixMatch.None, false, scopeN))
|
||||
|
||||
dec(c.compilesContextId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue