aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/declarations.ml
diff options
context:
space:
mode:
Diffstat (limited to 'checker/declarations.ml')
-rw-r--r--checker/declarations.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/checker/declarations.ml b/checker/declarations.ml
index 664712dd5..190e14eb1 100644
--- a/checker/declarations.ml
+++ b/checker/declarations.ml
@@ -553,6 +553,8 @@ let val_cstr_subst = val_substituted val_constr
let subst_constr_subst = subst_substituted
+type inline = int option (* inlining level, None for no inlining *)
+
type constant_body = {
const_hyps : section_context; (* New: younger hyp at top *)
const_body : constr_substituted option;
@@ -561,7 +563,7 @@ type constant_body = {
(* const_type_code : Cemitcodes.to_patch; *)
const_constraints : Univ.constraints;
const_opaque : bool;
- const_inline : bool}
+ const_inline : inline }
let val_cb = val_tuple ~name:"constant_body"
[|val_nctxt;