typecore: remove trivially dead code
parent
7e4085fdb1
commit
79d3f77433
|
@ -1312,8 +1312,7 @@ and type_pat_aux ~constrs ~labels ~no_existentials ~mode ~explode ~env
|
|||
let ty_elt = newvar() in
|
||||
unify_pat_types
|
||||
loc !env (instance_def (Predef.type_array ty_elt)) expected_ty;
|
||||
let spl_ann = List.map (fun p -> (p,newvar())) spl in
|
||||
map_fold_cont (fun (p,_) -> type_pat p ty_elt) spl_ann (fun pl ->
|
||||
map_fold_cont (fun p -> type_pat p ty_elt) spl (fun pl ->
|
||||
rp k {
|
||||
pat_desc = Tpat_array pl;
|
||||
pat_loc = loc; pat_extra=[];
|
||||
|
|
Loading…
Reference in New Issue