Skip to content

Track uses through first-class modules #83

@fantazio

Description

@fantazio

Analyzing code with first-class modules is untested and undocumented.

They are used in Opam 2.5.1 and involved in the following false positives in the UNUSED CONSTRUCTORS/RECORD FIELDS section:

/tmp/proj/opam/src/solver/opamCudfSolverSig.ml:12: criteria_def.crit_default
/tmp/proj/opam/src/solver/opamCudfSolverSig.ml:13: criteria_def.crit_upgrade
/tmp/proj/opam/src/solver/opamCudfSolverSig.ml:14: criteria_def.crit_fixup
/tmp/proj/opam/src/solver/opamCudfSolverSig.ml:15: criteria_def.crit_best_effort_prefix

The fields listed are used in the OpamSolverConfig.with_auto_criteria

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions