reasonml / reason

Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
http://reasonml.github.io
MIT License
10.14k stars 429 forks source link

Fatal error in rtop #844

Closed koko256 closed 2 months ago

koko256 commented 7 years ago

When #using file: let newVar () = { }; the rtop toplevel crashes with Fatal error: exception Syntaxutil.Error(, _)

utop 1.19.3 ocaml 4.02.3

the correct syntax is processed correctly : let newVar () => { };

anmonteiro commented 2 months ago

can no longer repro

Reason # #use "./x.re";
let newVar: unit => {.. } = <fun>;
Reason #