git clone https://github.com/kit-ty-kate/opam
cd opam
git checkout 2d04f927492c9b7fb368d358513ccd8a7d2a9d66
./configure
make
dune build --profile=release --root . @check && dead_code_analyzer --all _build/default/src/**/.*objs/ | grep dose4
shows:
<pwd>/_build/default/src/solver/dose4/util.mli:44: identity#add
<pwd>/_build/default/src/solver/dose4/util.mli:44: identity#inttovar
<pwd>/_build/default/src/solver/dose4/util.mli:44: identity#vartoint
However looking around at uses of Util.identity we find very quickly find at least one user of these methods (at least for inttovar and vartoint):
Depsolver.listcheck --> Diagnostic.diagnosis --> Diagnostic.result
shows:
However looking around at uses of
Util.identitywe find very quickly find at least one user of these methods (at least forinttovarandvartoint):