aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-23 11:47:43 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-23 11:47:43 +0000
commit97f2cb04e369e07dc87dc15d4871b736776614bd (patch)
tree47cb65cf28136895ee942f36ba7cde8d214e8217 /tactics
parent81f12192810bdf825cee82658a36214740d1a75b (diff)
- Fix bug #1858, Hint Unfold calling the wrong locate function.
- Fix typeclass interface: instance_constructor now takes the instance constrs as argument to build and return the corresponding term and type. - Better typeclass error reporting when defining fixpoints. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10975 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics')
-rw-r--r--tactics/auto.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index 949db0e0f..e9424ed0c 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -432,7 +432,7 @@ let add_hints local dbnames0 h =
add_trivials env sigma (List.map f lhints) local dbnames
| HintsUnfold lhints ->
let f r =
- let r = Syntax_def.locate_global_with_alias (qualid_of_reference r) in
+ let r = Syntax_def.global_with_alias r in
let r' = match r with
| ConstRef c -> EvalConstRef c
| VarRef c -> EvalVarRef c