From 28855216037570aeabc544ab232bb896d7a7327f Mon Sep 17 00:00:00 2001 From: Arnaud Spiwack Date: Thu, 25 Jun 2015 09:52:45 +0200 Subject: Adjust checker after `Assume [Positive]`. --- checker/values.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'checker/values.ml') diff --git a/checker/values.ml b/checker/values.ml index b2d74821d4..cf56bbd981 100644 --- a/checker/values.ml +++ b/checker/values.ml @@ -13,7 +13,7 @@ To ensure this file is up-to-date, 'make' now compares the md5 of cic.mli with a copy we maintain here: -MD5 f5fd749af797e08efee22122742bc740 checker/cic.mli +MD5 6f563f1f75706b28e5d3e3ef59e1681c checker/cic.mli *) @@ -265,7 +265,8 @@ let v_ind_pack = v_tuple "mutual_inductive_body" v_rctxt; v_bool; v_context; - Opt v_bool|] + Opt v_bool; + v_bool|] let v_with = Sum ("with_declaration_body",0, -- cgit v1.2.3 From 2d4701b4d1bdb0fb4f64dec9ffbd9ad90506ba26 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 15 Jun 2016 12:16:18 +0200 Subject: Fixing the checker. This is a stupid fix that only allows to take into account the change in memory layout. The check will simply fail when encountering a unguarded inductive or (co)fixpoint. --- checker/values.ml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'checker/values.ml') diff --git a/checker/values.ml b/checker/values.ml index cf56bbd981..5f67b17d3c 100644 --- a/checker/values.ml +++ b/checker/values.ml @@ -13,7 +13,7 @@ To ensure this file is up-to-date, 'make' now compares the md5 of cic.mli with a copy we maintain here: -MD5 6f563f1f75706b28e5d3e3ef59e1681c checker/cic.mli +MD5 27a5893c01d6f80e7a8741ef98874e63 checker/cic.mli *) @@ -208,6 +208,9 @@ let v_projbody = v_tuple "projection_body" [|v_cst;Int;Int;v_constr;v_tuple "proj_eta" [|v_constr;v_constr|]; v_constr|] +let v_typing_flags = + v_tuple "typing_flags" [|v_bool|] + let v_cb = v_tuple "constant_body" [|v_section_ctxt; v_cst_def; @@ -216,7 +219,8 @@ let v_cb = v_tuple "constant_body" v_bool; v_context; Opt v_projbody; - v_bool|] + v_bool; + v_typing_flags|] let v_recarg = v_sum "recarg" 1 (* Norec *) [|[|v_ind|] (* Mrec *);[|v_ind|] (* Imbr *)|] -- cgit v1.2.3