Open
Description
When one forgets to configure the JSX settings in rescript.json
and tries to compile a ReScript source file containing JSX, one gets the following error:
Fatal error: exception Failure("Pexp_jsx_element is expected to be transformed at this point")
Instead, the user should get a clearer and more actionable error message, maybe something like
Cannot compile JSX expression because JSX support is not enabled. Add
"jsx"
settings torescript.json
to enable JSX support.
Metadata
Metadata
Assignees
Labels
No labels