OCamlPro / alt-ergo

OCamlPro public development repository for Alt-Ergo
https://alt-ergo.ocamlpro.com/
Other
132 stars 33 forks source link

fix: Do not load preludes twice #1235

Closed bclement-ocp closed 2 months ago

bclement-ocp commented 2 months ago

The --enable-theories option should be a no-op w.r.t. the theories that are already enabled, but it currently causes the theory preludes to be enabled twice due to an oversight in the option parsing code.

Switch the option parsing code to use a set instead of a list to represent the enabled theories, ensuring uniqueness.