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
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 to rescript.json to enable JSX support.
The text was updated successfully, but these errors were encountered:
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:Instead, the user should get a clearer and more actionable error message, maybe something like
The text was updated successfully, but these errors were encountered: