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
Currently code
<p></p> <p></p>
is effectively parsed as if it was a chain of binary operators
(<p></p>) < p > </ p >
and errors that were reported are not very helpful
tt.tsx(2,4): error TS1109: Expression expected. tt.tsx(2,8): error TS1109: Expression expected.
Incorrect AST later breaks other LS features like formatting (#5265).
Error in Babel for the same case is much more useful:
Adjacent JSX elements must be wrapped in an enclosing tag
The text was updated successfully, but these errors were encountered:
Better error recovery for adjacent JSX elements in expression positions
6ccb2a5
Fixes microsoft#5286
RyanCavanaugh
No branches or pull requests
Currently code
is effectively parsed as if it was a chain of binary operators
and errors that were reported are not very helpful
Incorrect AST later breaks other LS features like formatting (#5265).
Error in Babel for the same case is much more useful:
The text was updated successfully, but these errors were encountered: