aboutsummaryrefslogtreecommitdiff
path: root/checker/check.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-09 12:50:27 +0200
committerGaëtan Gilbert2019-07-09 12:50:27 +0200
commit35d8ca72adcc3ce04cb2919c4a2d60ea0c73d24c (patch)
treecd44fa1b1b9e70f73b19d0616499b63016419db9 /checker/check.ml
parent7f366a7c7cd154c6a1dd191ff7f453e63b39a948 (diff)
parentdda7d129dba6c90d642cd99cd989e5f13c0eb4b4 (diff)
Merge PR #10471: [core] [api] Support OCaml 4.08
Reviewed-by: SkySkimmer Ack-by: Zimmi48
Diffstat (limited to 'checker/check.ml')
-rw-r--r--checker/check.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/checker/check.ml b/checker/check.ml
index 2840fc9ad6..ecf84fda9c 100644
--- a/checker/check.ml
+++ b/checker/check.ml
@@ -66,7 +66,7 @@ module LibraryOrdered =
struct
type t = DirPath.t
let compare d1 d2 =
- Pervasives.compare
+ compare
(List.rev (DirPath.repr d1)) (List.rev (DirPath.repr d2))
end
@@ -377,7 +377,7 @@ let intern_from_file ~intern_mode (dir, f) =
let get_deps (dir, f) =
try LibraryMap.find dir !depgraph
with Not_found ->
- let _ = intern_from_file (dir,f) in
+ let _ = intern_from_file ~intern_mode:Dep (dir,f) in
LibraryMap.find dir !depgraph
(* Read a compiled library and all dependencies, in reverse order.