-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Crash on quick info on <
in JSX closing tag
#47446
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
Comments
This assertion seems to be incorrect; the children being searched in #16385 added this check; I don't quite know when |
Don't quote me on this, but I believe First, a If you want everything in Maybe @CyrusNajmabadi remembers more. |
From my point of view, the debug assertion could only be there to double check some invariant of the parse tree. It could be argued that it should also check that the My PR tries to restore the documented invariant of the check, but I can certainly make the argument that it doesn't have to be there at all, too. |
I think you're right, but that the invariant isn't quite catching what it intends. I think that this all stems from some edge condition trying to make sure trivia wasn't accidentally getting mixed up with |
Likely to be #21815
Likely to be #46946
Request quick info on the
<
.Expected I dunno, probably nothing!
Actual
Fourslash test
The text was updated successfully, but these errors were encountered: