Skip to content

New diagnostic formatter adds extra whitespace on Windows #64413

@bnbarham

Description

@bnbarham

Description

The new formatter on Windows seems to add extra whitespace between each line:

=== .../swift/stdlib/public/core/Macros.swift:32:11 ===

31 | public macro fileID<T: ExpressibleByStringLiteral>() -> T =

32 |   Builtin.FileIDMacro

   |           ^ warning: ignoring definition of unknown builtin macro 'FileIDMacro'

33 |

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsPlatform: WindowsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfdiagnostic printerArea → compiler: diagnostic printerswift 5.9

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions