aboutsummaryrefslogtreecommitdiff
path: root/library/lib.ml
diff options
context:
space:
mode:
authorherbelin2005-11-04 09:02:45 +0000
committerherbelin2005-11-04 09:02:45 +0000
commit3f4bc40ac28dfc6cb205db199daaa4e87d260a99 (patch)
treec96bdb211963821f8d97dd2e18be1c452cb2f055 /library/lib.ml
parentf0ef4e792d41249921eabe951b73fbc8c956484e (diff)
Conformité au principe du nouveau warning X de ocaml 3.09
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7512 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/lib.ml b/library/lib.ml
index f713d0414e..b8e7cea951 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -627,8 +627,7 @@ let library_part ref =
let dir,_ = repr_path sp in
match ref with
| VarRef id ->
- anomaly "TODO";
- extract_dirpath_prefix (sections_depth ()) (cwd ())
+ anomaly "library_part not supported on local variables"
| _ ->
if is_dirpath_prefix_of dir (cwd ()) then
(* Not yet (fully) discharged *)