The command npm run build406 found in Contributing.md fails:
$ npm run build406
> reanalyze@2.25.1 build406
> cp src/dune src/dune.saved && cp src/dune.406 src/dune && npm run build && mv src/dune.saved src/dune || mv src/dune.saved src/dune
> reanalyze@2.25.1 build
> dune build
File "src/Compat.ml", line 104, characters 4-24:
Error: Unbound record field Format.mark_open_tag
Hint: Did you mean mark_open_stag?
Because it is "needed for ReScript projects", and "[t]his repository is only for keeping OCaml compatibility with an old version of reanalyze", the build406 command can probably be discarded, and all the code be made compatible with OCaml >= 4.08 only (as per reanalyze.opam) by removing a lot of cppo guarded code.
The command
npm run build406found in Contributing.md fails:Because it is "needed for ReScript projects", and "[t]his repository is only for keeping OCaml compatibility with an old version of reanalyze", the
build406command can probably be discarded, and all the code be made compatible with OCaml >= 4.08 only (as per reanalyze.opam) by removing a lot of cppo guarded code.