rescript-association / reanalyze

Experimental analyses for ReScript and OCaml: globally dead values/types, exception analysis, and termination analysis.
MIT License
277 stars 20 forks source link

OCaml 5.2 support #196

Closed kit-ty-kate closed 3 months ago

kit-ty-kate commented 6 months ago

The current release of reanalyze does not compile with OCaml 5.2 and fails with:

File "src/Log_.ml", line 57, characters 39-58:
Error: Unbound value CL.Misc.Color.setup
kit-ty-kate commented 5 months ago

Update: beta1 got released today

cknitt commented 3 months ago

@kit-ty-kate I tried to publish to opam, but there seems to be an issue with opam CI: https://github.com/ocaml/opam-repository/pull/25941

kit-ty-kate commented 3 months ago

@cknitt this is being tracked in https://github.com/ocaml/opam/issues/5971 but for now we're not sure if it's an issue on their cluster so we can't do much. In any case these errors are being ignored by opam-repository maintainers so it shouldn't cause any problem for your PR.

Thanks for doing this btw!