aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/elim.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/elim.ml')
-rw-r--r--tactics/elim.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tactics/elim.ml b/tactics/elim.ml
index cbe18ba36..b4f718fbd 100644
--- a/tactics/elim.ml
+++ b/tactics/elim.ml
@@ -14,6 +14,7 @@ open Names
open Term
open Termops
open Environ
+open Libnames
open Reduction
open Inductiveops
open Proof_type
@@ -103,7 +104,7 @@ let head_in gls indl t =
with Not_found -> false
let inductive_of = function
- | Nametab.IndRef ity -> ity
+ | IndRef ity -> ity
| r ->
errorlabstrm "Decompose"
(Printer.pr_global r ++ str " is not an inductive type")