aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/pattern.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/pattern.ml')
-rw-r--r--pretyping/pattern.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pretyping/pattern.ml b/pretyping/pattern.ml
index 243da5cc1..cea07c6b6 100644
--- a/pretyping/pattern.ml
+++ b/pretyping/pattern.ml
@@ -183,8 +183,7 @@ let rec pattern_of_constr t =
Some (pattern_of_constr p),pattern_of_constr a,
Array.map pattern_of_constr br)
| Fix f -> PFix f
- | CoFix _ ->
- error "pattern_of_constr: (co)fix currently not supported"
+ | CoFix f -> PCoFix f
(* To process patterns, we need a translation without typing at all. *)