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
This has to do with the compiler's ppx which transforms |> and ->.
The priority is unclear, since |> will go away (and is now reformatted away), but it is a bug.
Thank you for filing! Check list:
OS and browser versions, if relevant.not browser specificIs it already fixed in master? InstructionsnoI'm converting a library to ReScript, and I accidentally saved my file with this weird mix of pipes:
This compile failed with
invalid |.u syntax
.I'm not sure if I should expect the code to compile, but I do expect the compiler to give me a more reasonable error message. Playground example:
https://rescript-lang.org/try?version=v11.0.1&code=C4TwDgpgBMA8DkBDAfFAvFJ7UCkDOAdPgPYB2BwAUJQDYTBSIBOTiIAXFABRxKpqo4zViAQpkASnTcIpAMbEAJhCZSB3RGtSIAPsgCCLNgQC2iMF1kLlqgLTJ8RPGQLC2QA
The text was updated successfully, but these errors were encountered: