Skip to content

Recognize non-letter Windows drive designators - #377

Draft
aryansk wants to merge 1 commit into
apple:mainfrom
aryansk:codex/issue-271-windows-drive-designators
Draft

Recognize non-letter Windows drive designators#377
aryansk wants to merge 1 commit into
apple:mainfrom
aryansk:codex/issue-271-windows-drive-designators

Conversation

@aryansk

@aryansk aryansk commented Aug 8, 2026

Copy link
Copy Markdown

Fixes #271

What changed

  • Recognize any single non-separator, non-colon character as a Windows drive designator instead of restricting the syntax to ASCII letters.
  • Add simulated-Windows coverage for +:\\foo; keep the Unicode €: case gated to native Windows where the platform character type supports it.

Validation

  • swift test --filter FilePathSyntaxTest — 6 tests passed.

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.

Non-Letter Drive Windows Paths Are Incorrectly Reported As Non-Absolute

1 participant