Skip to content

Conversation

@bclement-ocp
Copy link
Collaborator

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.

Backport of #1235 to v2.6.x.

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.
@bclement-ocp bclement-ocp merged commit 74d1529 into OCamlPro:v2.6.x Sep 18, 2024
17 checks passed
@bclement-ocp bclement-ocp deleted the notwo26 branch September 18, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant