File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ let fromUri ~uri =
10
10
in
11
11
match Hashtbl. find_opt package.pathsForModule moduleName with
12
12
| Some paths ->
13
- let cmt = SharedTypes. getCmt ~interface: (Utils. endsWith path " i" ) paths in
13
+ let cmt =
14
+ SharedTypes. getCmtPath ~interface: (Utils. endsWith path " i" ) paths
15
+ in
14
16
ProcessCmt. fullForCmt ~module Name ~package ~uri cmt
15
17
| None ->
16
18
prerr_endline (" can't find module " ^ moduleName);
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ let fileForModule modname ~package =
1260
1260
if Hashtbl. mem package.pathsForModule modname then (
1261
1261
let paths = Hashtbl. find package.pathsForModule modname in
1262
1262
(* TODO: do better *)
1263
- let cmt = SharedTypes. getCmt ~interface: false paths in
1263
+ let cmt = SharedTypes. getCmtPath ~interface: false paths in
1264
1264
let uri = SharedTypes. getUri paths in
1265
1265
Log. log (" FINDING docs for module " ^ SharedTypes. showPaths paths);
1266
1266
Log. log (" FINDING " ^ cmt ^ " uri " ^ Uri2. toString uri);
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ let getUri p =
142
142
| Namespace {cmt} -> Uri2. fromPath cmt
143
143
| IntfAndImpl {resi} -> Uri2. fromPath resi
144
144
145
- let getCmt ~interface p =
145
+ let getCmtPath ~interface p =
146
146
match p with
147
147
| Impl {cmt} -> cmt
148
148
| Namespace {cmt} -> cmt
You can’t perform that action at this time.
0 commit comments