diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-26 18:52:05 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-02-26 18:52:05 +0000 |
commit | 7dd28b4772251af6ae3641ec63a8251153915e21 (patch) | |
tree | d11220b4ff19473215d77e9738d2a4eb58bf681d /checker/mod_checking.ml | |
parent | 2b09b02c136d3d68fa19e4493d5b5ad28c4f16db (diff) |
Names: shortcuts for building {kn, constant, mind} with empty sections
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16249 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/mod_checking.ml')
-rw-r--r-- | checker/mod_checking.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checker/mod_checking.ml b/checker/mod_checking.ml index 169fa5ca8..bc4ea7c69 100644 --- a/checker/mod_checking.ml +++ b/checker/mod_checking.ml @@ -258,10 +258,10 @@ and check_module env mp mb = and check_structure_field env mp lab res = function | SFBconst cb -> - let c = make_con mp DirPath.empty lab in + let c = Constant.make2 mp lab in check_constant_declaration env c cb | SFBmind mib -> - let kn = make_mind mp DirPath.empty lab in + let kn = MutInd.make2 mp lab in let kn = mind_of_delta res kn in Indtypes.check_inductive env kn mib | SFBmodule msb -> |