Skip to content

Commit dbf9d65

Browse files
committed
fix memoization issue on source_tree
Signed-off-by: Javier Chávarri <[email protected]>
1 parent 8d88ee8 commit dbf9d65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dune_engine/source_tree.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ end = struct
586586
| Some kind -> Dir0.This { Vcs.kind; root = Path.(append_source root) path }
587587

588588
let root () =
589+
let* (_ : Memo.Run.t) = Memo.current_run () in
589590
let path = Path.Source.root in
590591
let dir_status : Sub_dirs.Status.t = Normal in
591592
let error_unable_to_load ~path unix_error =

0 commit comments

Comments
 (0)