Forgot to commit the change in the simplifier.
This commit is contained in:
parent
f634d36b76
commit
89971f31d0
@ -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 -> (
|
||||
|
Loading…
Reference in New Issue
Block a user