Skip to content

End JSONC line comments at carriage returns - #1006

Closed
user (astunm) wants to merge 1 commit into
microsoft:mainfrom
astunm:fix/jsonc-carriage-returns
Closed

user (astunm) wants to merge 1 commit into
microsoft:mainfrom
astunm:fix/jsonc-carriage-returns

Conversation

@astunm

Copy link
Copy Markdown

Stop // comments at CR as well as LF so settings files with CR line endings keep the following settings. Adds LF, CRLF, and CR regression coverage.

The new regression fails before the fix. Workspace tests (97 unit tests and 3 doctests), the ICU runtime check, formatting, and strict Clippy pass locally.

@lhecker Leonard Hecker (lhecker) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this project fundamentally does not support CR line endings anywhere.

Is there a specific issue you're trying to solve with this PR?

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