diff options
| author | msozeau | 2008-03-20 20:56:29 +0000 |
|---|---|---|
| committer | msozeau | 2008-03-20 20:56:29 +0000 |
| commit | e41d7212c8c768f21a2baf61bb174a57bb7438a1 (patch) | |
| tree | c3413ad9882b85b20dc1f74e34eef344f03535d8 /interp | |
| parent | 382e4378c5c63b9052a9044d6ff3c0c937580817 (diff) | |
Add a flag to control rewriting under lambdas. Otherwise makes some
rewrite calls fail because an occurence is found under a lambda that
was not found before and there are no adequate morphism declarations to
make the rewrite succeed nor the possibility to give occurences to
rewrite (yet). Only setoid_rewrite will try rewriting under lambda's for
now. Example problem found in a port of the Random library.
Also improved the required_library error message.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10704 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
| -rw-r--r-- | interp/coqlib.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/coqlib.ml b/interp/coqlib.ml index 5fe0329f6b..ca3347dbbf 100644 --- a/interp/coqlib.ml +++ b/interp/coqlib.ml @@ -70,7 +70,7 @@ let check_required_library d = (dummy_loc,make_qualid (make_dirpath (List.rev prefix)) m) *) (* or failing ...*) - error ("Library "^(list_last d)^" has to be required first") + error ("Library "^(string_of_dirpath dir)^" has to be required first") (************************************************************************) (* Specific Coq objects *) |
