reason icon indicating copy to clipboard operation
reason copied to clipboard

Type-checking error messages are in OCaml syntax

Open jberdine opened this issue 9 years ago • 5 comments

Better if they were in Reason.

jberdine avatar May 24 '16 23:05 jberdine

@jordwalke so I guess we're keeping my refmterr stuff? No other ways right?

chenglou avatar May 25 '16 23:05 chenglou

I suppose so.

jordwalke avatar May 26 '16 00:05 jordwalke

Printing of errors in the compiler is done with the Outcometree. The necessary code is implemented in Reason_oprint.

OCaml 4.04 implemented support for plugins, a bit of code dynamically loaded in the ocaml process. After Reason switch to 4.04, implementing a simple plugin to setup the Oprint printers will be easy.

let-def avatar Dec 16 '16 16:12 let-def

Plugins GPR: https://github.com/ocaml/ocaml/pull/648

let-def avatar Dec 16 '16 16:12 let-def

plugins were removed in https://github.com/ocaml/ocaml/pull/2276 so this is no longer a viable strategy

anmonteiro avatar Jul 08 '24 00:07 anmonteiro