File tree 3 files changed +5
-8
lines changed
test/blackbox-tests/test-cases/utop
3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
Unreleased
2
2
----------
3
3
4
+ - Allow ` $ dune utop ` to load libraries defined in data only directories
5
+ defined using ` (subdir ..) ` (#6631 , @rgrinberg )
6
+
4
7
- Format dune files when they are named ` dune-file ` . This occurs when we enable
5
8
the alternative file names project option. (#6566 , @rgrinberg )
6
9
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ let libs_and_ppx_under_dir sctx ~db ~dir =
38
38
| None -> Memo. return ([] , [] )
39
39
| Some dir ->
40
40
let + libs, pps =
41
- Source_tree_map_reduce. map_reduce
42
- dir (* TODO this is wrong under [(subdir ..)] *)
43
- ~traverse: { data_only = false ; vendored = true ; normal = true }
41
+ Source_tree_map_reduce. map_reduce dir ~traverse: Sub_dirs.Status.Set. all
44
42
~f: (fun dir ->
45
43
let dir =
46
44
Path.Build. append_source (Super_context. context sctx).build_dir
Original file line number Diff line number Diff line change @@ -22,8 +22,4 @@ dune utop should read libraries in (subdir ..)
22
22
> EOF
23
23
24
24
$ dune utop . -- foo. ml
25
- File " foo.ml" , line 1 , characters 0 -9:
26
- 1 | Foolib. hw ()
27
- ^^^^^^^^ ^
28
- Error: Unbound module Foolib
29
- [2 ]
25
+ foolib
You can’t perform that action at this time.
0 commit comments