in
match ast with
| CicAst.AttributedTerm (`Loc loc, term) -> aux loc context term
- | _ -> assert false
+ | term -> aux (-1, -1) context term
let domain_of_term ~context ast =
(* "aux" keeps domain in reverse order and doesn't care about duplicates.
match ast with
| CicAst.AttributedTerm (`Loc loc, term) -> rev_uniq (aux loc context term)
- | _ -> assert false
+ | term -> aux (-1, -1) context term
(* dom1 \ dom2 *)