Fix idetools --def crash.
This commit is contained in:
parent
1658a29ec6
commit
79b08488f7
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ proc suggestSym*(n: PNode, s: PSym) {.inline.} =
|
||||||
findUsages(n, s)
|
findUsages(n, s)
|
||||||
if optDef in gGlobalOptions:
|
if optDef in gGlobalOptions:
|
||||||
findDefinition(n, s)
|
findDefinition(n, s)
|
||||||
if isServing:
|
if isServing and not n.isNil:
|
||||||
addToSourceMap(s, n.info)
|
addToSourceMap(s, n.info)
|
||||||
|
|
||||||
proc markUsed(n: PNode, s: PSym) =
|
proc markUsed(n: PNode, s: PSym) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue