From e6c41b96a5ea9f8559acf176cdf997b05ccfb317 Mon Sep 17 00:00:00 2001 From: Théo Zimmermann Date: Tue, 30 May 2017 12:10:35 +0200 Subject: Fix bug 5550: "typeclasses eauto with" does not work with section variables. --- tactics/class_tactics.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'tactics') diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml index d1ae85e7be..2c911addf5 100644 --- a/tactics/class_tactics.ml +++ b/tactics/class_tactics.ml @@ -593,6 +593,7 @@ let make_hints g st only_classes sign = List.fold_left (fun hints hyp -> let consider = + not only_classes || let open Context.Named.Declaration in try let t = Global.lookup_named (get_id hyp) |> get_type in (* Section variable, reindex only if the type changed *) -- cgit v1.2.3