-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New diagnostic formatter adds extra whitespace on Windows #64413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
diagnostic printer
Area → compiler: diagnostic printer
swift 5.9
Windows
Platform: Windows
Comments
rdar://106434712 |
This is almost certainly in the C++ implementation and not in the Swift implementation. Should we move this to the Swift repository? |
hjyamauchi
added a commit
to hjyamauchi/swift
that referenced
this issue
May 22, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
hjyamauchi
added a commit
to hjyamauchi/swift
that referenced
this issue
May 22, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
hjyamauchi
added a commit
to hjyamauchi/swift
that referenced
this issue
May 22, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
hjyamauchi
added a commit
to hjyamauchi/swift
that referenced
this issue
May 23, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
hjyamauchi
added a commit
to hjyamauchi/swift
that referenced
this issue
May 23, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
NuriAmari
pushed a commit
to NuriAmari/swift
that referenced
this issue
May 28, 2023
The swift driver emits extra newlines because it applies the LF -> CRLF conversions again on the outpt from the child processes. Fix it by using the binary mode when outputting the output from the child processes. Fixes: swiftlang#64413
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
diagnostic printer
Area → compiler: diagnostic printer
swift 5.9
Windows
Platform: Windows
Description
The new formatter on Windows seems to add extra whitespace between each line:
Possibly some mishandling of \r\n?
Steps to Reproduce
Run a swift build on Windows now that it uses the new formatter by default for the compiler compilation. CC @compn
The text was updated successfully, but these errors were encountered: