From 733ed91d3377aee2d436b60da6a4d78afa2f9bc5 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 9 Feb 2017 17:40:24 +0100 Subject: disable transitive closure computations; only semcheck procs that have the cursor --- compiler/suggest.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/suggest.nim') 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: -- cgit 1.4.1-2-gfad0