ReScript Error/Warning index

Inspired from Rust https://doc.rust-lang.org/error-index.html

We should emit the warning number with a brief explanation and a link to comprehensive explanation.

We can build infrastructure, it would be nice that the community could help enrich the error data base

9 Likes

It would certainly be nice to have a reference other than https://caml.inria.fr/pub/docs/manual-ocaml/comp.html, and one that includes the bucklescript-specific warnings

I just talked to an intern which I’ve been onboarding to reason and our projects yesterday. She came up with this exact idea because sometimes she just couldn’t understand what the error actually means.
I think this could really help devs coming to rescript move forward, when facing compiler errors.

3 Likes