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
DebugText
Given:
# ^^^^^^ trailing whitespace here f"{x = }"
The parser produces the incorrect AST. This is because the Parser::src_text creates an offset which doesn't take whitespace into consideration.
Parser::src_text
https://play.ruff.rs/dbc4339d-c692-403e-9fbc-6a33ca1d299e
The text was updated successfully, but these errors were encountered:
This basically affects all nodes that uses src_text method.
src_text
Sorry, something went wrong.
resolved in #11457
No branches or pull requests
Given:
The parser produces the incorrect AST. This is because the
Parser::src_text
creates an offset which doesn't take whitespace into consideration.https://play.ruff.rs/dbc4339d-c692-403e-9fbc-6a33ca1d299e
The text was updated successfully, but these errors were encountered: