diff options
author | Enrico Tassi <enrico.tassi@inria.fr> | 2015-03-23 11:04:05 +0100 |
---|---|---|
committer | Enrico Tassi <enrico.tassi@inria.fr> | 2015-03-23 11:17:15 +0100 |
commit | 38708b54882cf5c9de205711b3a962a0febc2e8c (patch) | |
tree | 4e8a04a9735c23245853418728961fcf250c8c8c /checker/safe_typing.ml | |
parent | 26153f161da2aa85454aece95b7a6d8cd5d446cf (diff) |
coqchk: more prints when -debug
Diffstat (limited to 'checker/safe_typing.ml')
-rw-r--r-- | checker/safe_typing.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/checker/safe_typing.ml b/checker/safe_typing.ml index 35f7f14b6..810d6e0b6 100644 --- a/checker/safe_typing.ml +++ b/checker/safe_typing.ml @@ -83,6 +83,7 @@ let import file clib univs digest = (* When the module is admitted, digests *must* match *) let unsafe_import file clib univs digest = let env = !genv in - check_imports (errorlabstrm"unsafe_import") clib.comp_name env clib.comp_deps; + if !Flags.debug then check_imports msg_warning clib.comp_name env clib.comp_deps + else check_imports (errorlabstrm"unsafe_import") clib.comp_name env clib.comp_deps; check_engagement env clib.comp_enga; full_add_module clib.comp_name clib.comp_mod univs digest |