diff options
author | 2008-09-14 10:55:29 +0000 | |
---|---|---|
committer | 2008-09-14 10:55:29 +0000 | |
commit | 77f1445b7f7d5499becbfa4c7ecfc9c0772f7971 (patch) | |
tree | 85810e7d0613190499c8801054f05eacfc3be0b9 /tactics | |
parent | adc507a2a6dc19b34b1d3906bc4c157fb47bb547 (diff) |
Fix bug #1936: uncaught exception due to undefinable exceptions.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11405 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r-- | tactics/class_tactics.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/class_tactics.ml4 b/tactics/class_tactics.ml4 index 2d4f6715e..70252f2b7 100644 --- a/tactics/class_tactics.ml4 +++ b/tactics/class_tactics.ml4 @@ -539,7 +539,7 @@ let morphism_class = let morphism_proxy_class = lazy (class_info (Nametab.global (Qualid (dummy_loc, qualid_of_string "Coq.Classes.Morphisms.MorphismProxy")))) -let respect_proj = lazy (mkConst (snd (List.hd (Lazy.force morphism_class).cl_projs))) +let respect_proj = lazy (mkConst (Option.get (snd (List.hd (Lazy.force morphism_class).cl_projs)))) let make_dir l = make_dirpath (List.map id_of_string (List.rev l)) |