You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed a new OPAM switch for OCaml 5.3, and I'm getting the following error when I use the new effect syntax with a file that's preprocessed by the JSOO PPX. I'm not sure where the best place to report this is, so feel free to direct this issue elsewhere.
$ dune build
File "main.ml", line 6, characters 4-25:
6 | | effect Random_bits, k -> Effect.Deep.continue k (Random.bits ())
^^^^^^^^^^^^^^^^^^^^^
Error: migration error: effect pattern is not supported before OCaml 5.03
I just installed a new OPAM switch for OCaml 5.3, and I'm getting the following error when I use the new effect syntax with a file that's preprocessed by the JSOO PPX. I'm not sure where the best place to report this is, so feel free to direct this issue elsewhere.
Minimal example
dune-project
dune
main.ml
Versions:
If I remove the
preprocess
stanza from the dune file, thendune build
works with no errors.The text was updated successfully, but these errors were encountered: