diff options
author | narimiran <narimiran@disroot.org> | 2019-09-04 13:31:28 +0200 |
---|---|---|
committer | narimiran <narimiran@disroot.org> | 2019-09-04 13:31:59 +0200 |
commit | a9c7fb2fccb13ca4395986e8c19b3c42b7d3500e (patch) | |
tree | e6f6beda620c369db3fb855d144505c9acad53e7 /compiler | |
parent | fa5707e7e2494065be09f4e4f0590140399cd215 (diff) | |
download | Nim-a9c7fb2fccb13ca4395986e8c19b3c42b7d3500e.tar.gz |
fixes nimsuggest/#108: RangeError with d:release
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/suggest.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/suggest.nim b/compiler/suggest.nim index 9680bc846..5cb365a4a 100644 --- a/compiler/suggest.nim +++ b/compiler/suggest.nim @@ -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) |