Skip to content

Commit

Permalink
409: read cmis with get_cached_entry as in 49e703a
Browse files Browse the repository at this point in the history
  • Loading branch information
let-def committed Nov 28, 2019
1 parent 2f303dd commit 81d6415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocaml/typing/409/env.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,7 @@ let check_state_consistency () =
| _ -> false
| exception Not_found -> true
and found _modname filename pm =
match !(Cmi_cache.(read filename).Cmi_cache.cmi_cache) with
match !(Cmi_cache.(get_cached_entry filename).Cmi_cache.cmi_cache) with
| Cmi_cache_store sg -> Std.lazy_eq sg pm.pm_signature
| _ -> false
| exception Not_found -> false
Expand Down

0 comments on commit 81d6415

Please sign in to comment.