Forgot to commit the change in the simplifier.

This commit is contained in:
Christian Rinderknecht 2019-10-13 20:15:50 +02:00
parent f634d36b76
commit 89971f31d0

View File

@ -886,7 +886,7 @@ and simpl_cases : type a . (Raw.pattern * a) list -> a matching result = fun t -
| [] -> ok x'
| _ -> ok t
)
| _ -> fail @@ corner_case ~loc:__LOC__ "unexpected pattern" in
| pattern -> ok pattern in
let get_constr (t: Raw.pattern) =
match t with
| PConstr v -> (