reasonml / reason

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

local open + let bindings #2695

Closed anmonteiro closed 11 hours ago

anmonteiro commented 1 year ago
let y = Promise.Ops.(
  let* x = Js.Promise.resolve(42);
  Js.Promise.resolve(x * 2);
);

this currently produces a syntax error "unclosed parenthesis"

anmonteiro commented 11 hours ago

Done in #2716