We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let%component make = (type a, ~someProp: a, ...) => ...
is rejected with the error fun expected because type a results in a Pexp_newtype, while a Pexp_fun is expected.
fun expected
type a
Pexp_newtype
Pexp_fun
And because of #53 it's not possible to use a stand-alone type annotation either.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
is rejected with the error
fun expected
becausetype a
results in aPexp_newtype
, while aPexp_fun
is expected.And because of #53 it's not possible to use a stand-alone type annotation either.
The text was updated successfully, but these errors were encountered: