me whenever I hit a bug related to the polymorphic comparison functions in OCaml
Warn on polymorphic comparisons by kit-ty-kate · Pull Request #9928 · ocaml/ocaml

This is a new take on #1642 which is a PR @dra27 pointed me towards after explaining a similar idea I had over the holiday. This PR adds a new builtin alert [@@ocaml.alert polymorphic_comparison] a...

GitHub