diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-09 17:40:24 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-09 17:40:24 +0100 |
commit | 733ed91d3377aee2d436b60da6a4d78afa2f9bc5 (patch) | |
tree | ab53799ec99bf2bdd21747856ffd95a8c0c56be3 /compiler/suggest.nim | |
parent | 5ff6ff28bf9abf12fa9d82f0323954516a855b6a (diff) | |
download | Nim-733ed91d3377aee2d436b60da6a4d78afa2f9bc5.tar.gz |
disable transitive closure computations; only semcheck procs that have the cursor
Diffstat (limited to 'compiler/suggest.nim')
-rw-r--r-- | compiler/suggest.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/suggest.nim b/compiler/suggest.nim index 66876b9b5..aea979d56 100644 --- a/compiler/suggest.nim +++ b/compiler/suggest.nim @@ -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: |