Skip to content
Snippets Groups Projects
Commit d266aba4 authored by David Bühler's avatar David Bühler
Browse files

[Eva] Removes the deprecated option -val-warn-builtin-override.

Replaced by the warning category builtins:override for more than a year.
parent 7460e110
No related branches found
No related tags found
No related merge requests found
...@@ -1313,26 +1313,6 @@ module NumerorsLogFile = ...@@ -1313,26 +1313,6 @@ module NumerorsLogFile =
let default = "" let default = ""
end) end)
let () = Parameter_customize.set_group alarms
let () = Parameter_customize.is_invisible ()
module WarnBuiltinOverride =
True(struct
let option_name = "-val-warn-builtin-override"
let help = "[DEPRECATED: use warning category key '" ^
(wkey_name wkey_builtins_override) ^
"' to control] Warn when Eva built-ins will override function \
definitions"
end)
let () = add_correctness_dep WarnBuiltinOverride.parameter
let () = WarnBuiltinOverride.add_update_hook
(fun _ v ->
warning "Option %s is deprecated. \
Use warning category key '%a' instead"
WarnBuiltinOverride.option_name
pp_warn_category wkey_builtins_override;
set_warn_status wkey_builtins_override
(if v then Log.Wonce else Log.Winactive))
(* ------------------------------------------------------------------------- *) (* ------------------------------------------------------------------------- *)
(* --- Interpreter mode --- *) (* --- Interpreter mode --- *)
(* ------------------------------------------------------------------------- *) (* ------------------------------------------------------------------------- *)
......
...@@ -148,7 +148,6 @@ module PrintCallstacks: Parameter_sig.Bool ...@@ -148,7 +148,6 @@ module PrintCallstacks: Parameter_sig.Bool
module AlarmsWarnings: Parameter_sig.Bool module AlarmsWarnings: Parameter_sig.Bool
module ReportRedStatuses: Parameter_sig.String module ReportRedStatuses: Parameter_sig.String
module NumerorsLogFile: Parameter_sig.String module NumerorsLogFile: Parameter_sig.String
module WarnBuiltinOverride: Parameter_sig.Bool
module MemExecAll: Parameter_sig.Bool module MemExecAll: Parameter_sig.Bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment