From: Stefano Zacchiroli Date: Thu, 5 Feb 2004 17:17:57 +0000 (+0000) Subject: bugfix: use rev_uniq also on non-located term X-Git-Tag: V_0_2_3~35 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=597bf5f989f410aea68d38ba6e32b9498493faf6;p=helm.git bugfix: use rev_uniq also on non-located term --- 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 *)