Skip to content

Commit

Permalink
Remove deprecated preludes
Browse files Browse the repository at this point in the history
These preludes have been deprecated in v2.6.0
  • Loading branch information
Halbaroth committed Nov 5, 2024
1 parent 5ee6ed2 commit 9bce7a9
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 3,154 deletions.
17 changes: 1 addition & 16 deletions src/bin/common/parse_command.ml
Original file line number Diff line number Diff line change
Expand Up @@ -726,25 +726,10 @@ let parse_execution_opt =
else
match Config.lookup_prelude p with
| Some p' ->
begin if Compat.String.starts_with ~prefix:"b-set-theory" p then
Printer.print_wrn ~header:true
"Support for the B set theory is deprecated since version \
2.5.0 and may be removed in a future version. If you are \
actively using it, please make yourself known to the Alt-Ergo \
developers by writing to <[email protected]>."
else if Compat.String.starts_with ~prefix:"fpa-theory" p then
Printer.print_wrn ~header:true
"@[Support for the FPA theory has been integrated as a \
builtin theory prelude in version 2.5.0 and is enabled \
by default.\
This option and the '%s'@ prelude will \ be removed in a \
later version.@]" p
end;

Ok p'
| None ->
Error (
Format.asprintf
Fmt.str
"cannot load prelude '%s': no such file"
p)
in
Expand Down
3 changes: 0 additions & 3 deletions src/preludes/cram.t/run.t

This file was deleted.

20 changes: 0 additions & 20 deletions src/preludes/dune

This file was deleted.

Loading

0 comments on commit 9bce7a9

Please sign in to comment.