Skip to content

fix: preserve CRLF namespace byte offsets#16

Merged
vycdev merged 1 commit into
vycdev:mainfrom
vycdev2:fix/crlf-namespace-offsets
Jul 23, 2026
Merged

fix: preserve CRLF namespace byte offsets#16
vycdev merged 1 commit into
vycdev:mainfrom
vycdev2:fix/crlf-namespace-offsets

Conversation

@vycdev2

@vycdev2 vycdev2 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • compute namespace pre-scan offsets from each line segment’s actual byte length so CRLF input does not drift
  • add a regression covering multiple namespace declarations in a CRLF source file

Verification

  • cargo test -q -p jett_project — passed: 8 tests
  • cargo build — passed
  • cargo test -q — passed
  • cargo fmt --check — passed
  • git diff --check — passed

Risk

  • Low: the change is limited to the private namespace pre-scan line iterator and preserves LF behavior while accounting for CRLF byte width.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

@vycdev
vycdev merged commit b11c7bf into vycdev:main Jul 23, 2026
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