Skip to content

zig fmt odd indentation for comments inside of ternary if #3978

@daurnimator

Description

@daurnimator

In https://github.com/ziglang/zig/pull/3977/files#diff-e1a2433247d4abb2881d23eb041ec60dR52 I noticed this diff:

 else if (builtin.os == .windows) 
-    // https://locklessinc.com/articles/keyed_events/
+// https://locklessinc.com/articles/keyed_events/

IMO this isn't correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.standard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions