Open jchavarri opened 5 years ago
This code fails to be processed:
Lwt_js.sleep(1.) ->Lwt.( bind(() => { print_endline("foo"); return(); }) );
It triggers Error: Cannot pipe into expression.
Error: Cannot pipe into expression
Without local opening it works ok:
Lwt_js.sleep(1.) ->Lwt.bind(() => { print_endline("foo"); Lwt.return(); });
Is this expected?
Seems I forgot to implement the local open case. Will fix :)
This code fails to be processed:
It triggers
Error: Cannot pipe into expression
.Without local opening it works ok:
Is this expected?