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
As reported by @STRd6, Civet doesn't touch this:
{} as T
But to be valid JS, it (or {}) needs to be wrapped in parens.
{}
Likely a bug in makeExpressionStatement.
makeExpressionStatement
I think () => {} as T has the same issue (and is handled specially in FatArrowBody).
() => {} as T
FatArrowBody
The text was updated successfully, but these errors were encountered:
Fix parenthesization of fat arrow body
7cc702d
Second half of #1582
d11faea
No branches or pull requests
As reported by @STRd6, Civet doesn't touch this:
But to be valid JS, it (or
{}
) needs to be wrapped in parens.Likely a bug in
makeExpressionStatement
.I think
() => {} as T
has the same issue (and is handled specially inFatArrowBody
).The text was updated successfully, but these errors were encountered: