Create new plugin or another way to autodetect and autofix deprecations
Following the discussions about deprecating Pervasives
in OCaml, I think it might be beneficial to define/implement a general way to autodetect and autofix deprecations through dune plugin. A good way for this is Rust's cargo fix
:
- https://github.com/rust-lang-nursery/rustfix
- https://doc.rust-lang.org/nightly/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html
Adding an issue here, since there is a planned integration of the tool in Dune build system is planned.
See discussions here:
Edited by Anton Kochkov