Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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