From a512c03be02ff749abc2328b17fd7917d54aff27 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Mon, 29 Jul 2013 16:35:50 +0000 Subject: Tentative fix for #3054: we refresh universes in a term generated by congruence, as it seems to be done methodically on the remaining of this plugin. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16642 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/cc/ccalgo.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/cc/ccalgo.ml b/plugins/cc/ccalgo.ml index aba908d482..fbe31fe527 100644 --- a/plugins/cc/ccalgo.ml +++ b/plugins/cc/ccalgo.ml @@ -427,7 +427,8 @@ let rec add_term state t= try Termhash.find uf.syms t with Not_found -> let b=next uf in - let typ = pf_type_of state.gls (constr_of_term t) in + let trm = Termops.refresh_universes (constr_of_term t) in + let typ = pf_type_of state.gls trm in let typ = canonize_name typ in let new_node= match t with -- cgit v1.2.3