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/modulegraphs.nim | |
parent | 5ff6ff28bf9abf12fa9d82f0323954516a855b6a (diff) | |
download | Nim-733ed91d3377aee2d436b60da6a4d78afa2f9bc5.tar.gz |
disable transitive closure computations; only semcheck procs that have the cursor
Diffstat (limited to 'compiler/modulegraphs.nim')
-rw-r--r-- | compiler/modulegraphs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim index 87a35b290..fb8f5cf04 100644 --- a/compiler/modulegraphs.nim +++ b/compiler/modulegraphs.nim @@ -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) |