Skip to content
New issue

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

JSX parser error #1874

Closed
acierto opened this issue Aug 11, 2017 · 3 comments
Closed

JSX parser error #1874

acierto opened this issue Aug 11, 2017 · 3 comments

Comments

@acierto
Copy link

acierto commented Aug 11, 2017

This line produces an error
<span className="filter-label"><span>(ReasonReact.stringToElement "Has interface")</span></span>
Though if to format it manually like this, then it works:

<span className="filter-label">
     <span>(ReasonReact.stringToElement "Has interface")</span>
</span>

screen shot 2017-08-11 at 12 43 39

So as you can see from error, it complains that code contains some reserved BuckleScript keyword.

@bobzhang
Copy link
Member

Can you file an issue in Facebook/reason ? Cc @chenglou

@acierto
Copy link
Author

acierto commented Aug 11, 2017

Sure, for me it's not very clear where is the root cause.

reasonml/reasonml.github.io#79

@chenglou
Copy link
Member

chenglou commented Aug 12, 2017

Thanks for the report! Continuing at the other place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants