Skip to content
Unverified Commit 1b342ef5 authored by Nikhil Arora's avatar Nikhil Arora Committed by GitHub
Browse files

Fix crash when multiple `# fmt: skip` comments are used in multi-part if-clause (#4731) (#4872)

* Add trailing newlines to STANDALONE_COMMENT nodes to prevent parsing errors

* Add test cases and revise the approach for issue #4873

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci



* formatting changes required as per the ci failure

---------

Co-authored-by: default avatarcobalt <61329810+cobaltt7@users.noreply.github.com>
Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent 7b265f16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment