Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not load preludes twice #1235

Merged
merged 1 commit into from
Sep 17, 2024

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.

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 added this to the 2.6.0 milestone Sep 12, 2024
@bclement-ocp bclement-ocp merged commit c75f886 into OCamlPro:next Sep 17, 2024
17 checks passed
@bclement-ocp bclement-ocp deleted the fix-multi-fpa branch September 17, 2024 12:21
bclement-ocp added a commit to bclement-ocp/alt-ergo that referenced this pull request Sep 17, 2024
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 added a commit that referenced this pull request Sep 18, 2024
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.
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.

2 participants