Visitar URL original
Refactor using CWarning.with_warn · Issue #215 · QuickChick/QuickChick · GitHub
Skip to content

Refactor using CWarning.with_warn #215

Open

Description

@Lysxia

Tracking this Coq PR rocq-prover/rocq#13776

when this PR is merged, you should be able to rely on the new CWarnings.with_warn function instead of the ad hoc code for doing the same thing at

let warnings = CWarnings.get_flags () in
let mute_extraction = warnings ^ (if warnings = "" then "" else ",") ^ "-extraction-opaque-accessed" in
CWarnings.set_flags mute_extraction;
Flags.silently (Extraction_plugin.Extract_env.full_extraction (Some mlf)) [qualid_of_ident main];
CWarnings.set_flags warnings;
.

Activity

  1. added a commit that references this issue on Nov 5, 2026
    77c09ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions