Skip to content

fix: Correct alternate comment mode line numbers#2159

Merged
dcodeIO merged 1 commit intomasterfrom
patch/alternate-line-count
Apr 27, 2026
Merged

fix: Correct alternate comment mode line numbers#2159
dcodeIO merged 1 commit intomasterfrom
patch/alternate-line-count

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented Apr 24, 2026

Narrower alternative to #2018. While the originally proposed fix corrected parser error line numbers, it also caused comments to be attached to the wrong line. This change keeps comment line numbers intact while still accounting for additional // lines in alternateCommentMode.

Closes #2018

@dcodeIO dcodeIO merged commit e550cd2 into master Apr 27, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 27, 2026
@dcodeIO dcodeIO deleted the patch/alternate-line-count branch April 29, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants