201 test failures#202
Open
pseewald wants to merge 10 commits intofortran-lang:masterfrom
Open
Conversation
Contributor
|
I cannot push to your branch, so I made a PR for this branch. |
Collaborator
Author
|
Further issue:
|
When write_formatted_line splits a long line (via _insert_split_chunks or _detach_inline_comment), the statement label was consumed but never restored for the replacement lines. This caused labels like "1003" to be silently dropped from FORMAT statements that exceeded the line length limit. Three issues addressed in write_formatted_line: - Restore the label after split/detach so it appears on the first chunk - In the overflow fallback path, prepend the label when orig_line lacks it - When detaching an inline comment from a labeled line, compensate the comment's indent for the label-replacement space inflation Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is work in progress to fix current test failures introduced by #186.
indent_misalignedcondition because it doesn't make much sense to me (as commented already in Specify the amount of spaces before inline comments #186 (comment))@zandivx Could you please fix the unit test failure? Then all other tests should pass as well. You can push to this pr, or create a new pr, as you prefer.
Could you also review this pr (in particular, if you agree with removing
indent_misalignedcondition)?