From c6d9d4fb142ef42634be25b60c0995b541e86629 Mon Sep 17 00:00:00 2001 From: Daniel de Rauglaudre Date: Mon, 15 Feb 2016 16:22:45 +0100 Subject: Adding ability to put any pattern in binders, prefixed by a quote. Cf CHANGES for details. --- interp/implicit_quantifiers.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'interp/implicit_quantifiers.ml') diff --git a/interp/implicit_quantifiers.ml b/interp/implicit_quantifiers.ml index 567150a5d..b50732e4e 100644 --- a/interp/implicit_quantifiers.ml +++ b/interp/implicit_quantifiers.ml @@ -112,6 +112,7 @@ let free_vars_of_binders ?(bound=Id.Set.empty) l (binders : local_binder list) = let l' = free_vars_of_constr_expr c ~bound:bdvars l in aux (Id.Set.union (ids_of_list bound) bdvars) l' tl + | LocalPattern _ :: tl -> assert false | [] -> bdvars, l in aux bound l binders -- cgit v1.2.3