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

@ -73,7 +73,7 @@ proc addDep*(g: ModuleGraph; m: PSym, dep: int32) =
deps.incl m.position.dependsOn(dep)
# we compute the transitive closure later when quering the graph lazily.
# this improve efficiency quite a lot:
invalidTransitiveClosure = true
#invalidTransitiveClosure = true
proc addIncludeDep*(g: ModuleGraph; module, includeFile: int32) =
discard hasKeyOrPut(inclToMod, includeFile, module)