From a1bdaf0635b5d5b9e007662f324dd526ba0fe8d3 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Tue, 9 Oct 2018 18:21:04 +0200 Subject: [checker] Refactor by sharing code with the kernel For historical reasons, the checker was duplicating a lot of code of the kernel. The main differences I found were bug fixes that had not been backported. With this patch, the checker uses the kernel as a library to serve the same purpose as before: validation of a `.vo` file, re-typechecking all definitions a posteriori. We also rename some files from the checker so that they don't clash with kernel files. --- checker/mod_checking.mli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checker/mod_checking.mli') diff --git a/checker/mod_checking.mli b/checker/mod_checking.mli index c9e7f9a1aa..6cff3e6b8c 100644 --- a/checker/mod_checking.mli +++ b/checker/mod_checking.mli @@ -8,4 +8,4 @@ (* * (see LICENSE file for the text of the license) *) (************************************************************************) -val check_module : Environ.env -> Names.ModPath.t -> Cic.module_body -> unit +val check_module : Environ.env -> Names.ModPath.t -> Declarations.module_body -> unit -- cgit v1.2.3