File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1286,7 +1286,7 @@ let fileForModule modname ~package =
1286
1286
if Hashtbl. mem package.pathsForModule modname then (
1287
1287
let paths = Hashtbl. find package.pathsForModule modname in
1288
1288
(* TODO: do better *)
1289
- let cmt = SharedTypes. getCmt paths in
1289
+ let cmt = SharedTypes. getCmt ~interface: false paths in
1290
1290
let uri =
1291
1291
match SharedTypes. getSrc paths with
1292
1292
| Some sourcePath -> Uri2. fromPath sourcePath
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ let getSrc p =
136
136
| Namespace _ -> None
137
137
| IntfAndImpl {resi} -> Some resi
138
138
139
- let getCmt ?( interface = true ) p =
139
+ let getCmt ~ interface p =
140
140
match p with
141
141
| Impl {cmt} -> cmt
142
142
| Namespace {cmt} -> cmt
You can’t perform that action at this time.
0 commit comments