From 597bf5f989f410aea68d38ba6e32b9498493faf6 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Thu, 5 Feb 2004 17:17:57 +0000 Subject: [PATCH] bugfix: use rev_uniq also on non-located term --- helm/ocaml/cic_disambiguation/disambiguate.ml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/helm/ocaml/cic_disambiguation/disambiguate.ml b/helm/ocaml/cic_disambiguation/disambiguate.ml index a539ffd8c..f75941475 100644 --- a/helm/ocaml/cic_disambiguation/disambiguate.ml +++ b/helm/ocaml/cic_disambiguation/disambiguate.ml @@ -293,9 +293,10 @@ let domain_of_term ~context ast = List.rev uniq_rev_l in - match ast with - | CicAst.AttributedTerm (`Loc loc, term) -> rev_uniq (aux loc context term) - | term -> aux (-1, -1) context term + rev_uniq + (match ast with + | CicAst.AttributedTerm (`Loc loc, term) -> aux loc context term + | term -> aux (-1, -1) context term) (* dom1 \ dom2 *) -- 2.39.2