diff options
| author | Maxime Dénès | 2018-10-31 19:10:50 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-11-06 14:19:38 +0100 |
| commit | 4b391bd039e93124e2b919161fbcfc495119c77a (patch) | |
| tree | 46fa9197635689c4186b449f756babf21fdb123f /checker/mod_checking.ml | |
| parent | 0b1027f65deb1f22972e304c24a1449b32470018 (diff) | |
Checker now disables VM and native
At the same time, we made the safe_env threading explicit.
Diffstat (limited to 'checker/mod_checking.ml')
| -rw-r--r-- | checker/mod_checking.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/mod_checking.ml b/checker/mod_checking.ml index 94e7c29201..ed617d73c2 100644 --- a/checker/mod_checking.ml +++ b/checker/mod_checking.ml @@ -25,7 +25,7 @@ let check_constant_declaration env kn cb = let ty = cb.const_type in let _ = infer_type env' ty in let () = - match Global.body_of_constant_body cb with + match Environ.body_of_constant_body env cb with | Some bd -> let j = infer env' (fst bd) in conv_leq env' j.uj_type ty |
