@@ -1405,7 +1405,6 @@ and type_pat_aux ~constrs ~labels ~no_existentials ~mode ~explode ~env sp
14051405 (match sargs with
14061406 | [({ppat_desc = Ppat_constant _} as sp)]
14071407 when Builtin_attributes. warn_on_literal_pattern constr.cstr_attributes ->
1408- (* TODO(actions) Use explicit pattern matching instead of literal *)
14091408 Location. prerr_warning sp.ppat_loc Warnings. Fragile_literal_pattern
14101409 | _ -> () );
14111410 if List. length sargs <> constr.cstr_arity then
@@ -2779,7 +2778,6 @@ and type_expect_ ~context ?in_function ?(recarg = Rejected) env sexp ty_expected
27792778 in
27802779 let opt_exp =
27812780 if List. length lid_sexp_list = num_fields then (
2782- (* TODO(actions) Remove `...` spread *)
27832781 Location. prerr_warning loc Warnings. Useless_record_with ;
27842782 None )
27852783 else opt_exp
@@ -3718,7 +3716,6 @@ and type_application ~context total_app env funct (sargs : sargs) :
37183716 else (sargs, (l, ty, lv) :: omitted, None )
37193717 | Some (l' , sarg0 , sargs ) ->
37203718 if (not optional) && is_optional_loc l' then
3721- (* TODO(actions) Add ? to make argument optional *)
37223719 Location. prerr_warning sarg0.pexp_loc
37233720 (Warnings. Nonoptional_label (Printtyp. string_of_label l));
37243721 ( sargs,
@@ -4309,7 +4306,6 @@ let type_expression ~context env sexp =
43094306 | Pexp_apply _ -> Some (return_type, FunctionCall )
43104307 | _ -> Some (return_type, Other )))
43114308 | Tags _ ->
4312- (* TODO(actions) Assign to let _ = or pipe to ignore() *)
43134309 Location. prerr_warning sexp.pexp_loc (Bs_toplevel_expression_unit None ));
43144310 end_def () ;
43154311 if not (is_nonexpansive exp) then generalize_expansive env exp.exp_type;
0 commit comments