disable transitive closure computations; only semcheck procs that have the cursor

This commit is contained in:
Andreas Rumpf 2017-02-09 17:40:24 +01:00
commit 733ed91d33
3 changed files with 41 additions and 25 deletions

View file

@ -297,10 +297,10 @@ proc suggestFieldAccess(c: PContext, n: PNode, outputs: var int) =
suggestOperations(c, n, typ, outputs)
type
TCheckPointResult = enum
TCheckPointResult* = enum
cpNone, cpFuzzy, cpExact
proc inCheckpoint(current: TLineInfo): TCheckPointResult =
proc inCheckpoint*(current: TLineInfo): TCheckPointResult =
if current.fileIndex == gTrackPos.fileIndex:
if current.line == gTrackPos.line and
abs(current.col-gTrackPos.col) < 4: