summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rewrites.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rewrites.ml b/src/rewrites.ml
index 074ad60f..6d0fa832 100644
--- a/src/rewrites.ml
+++ b/src/rewrites.ml
@@ -1214,6 +1214,8 @@ let remove_bitvector_pat (P_aux (_, (l, _)) as pat) =
| Some (l,i,j,lits) -> Some (l,i,idx,lits @ [e])
| None -> Some (l,idx,idx,[e])) in
collect current' (guards, dls) idx' ps'
+ | P_aux (P_typ (typ, pat'), _) ->
+ collect current (guards, dls) idx (pat' :: ps')
| P_aux (P_as (pat',id), (l,annot)) ->
let dl = letbind_bit_exp rootid l t idx id in
collect current (guards, dls @ [dl]) idx (pat' :: ps')