Skip to content

zig fmt indent problem #5343

@donaldcallen

Description

@donaldcallen
            if (split_and_child_count != 0) {
                z.display_message_dialog(
                    *const [323:0]u8,
                    \\Cannot delete account for which there are transactions or child accounts.
                    \\To delete this account, you must first delete any transactions having
                    \\splits pointing to this account, or change the splits to point to a different account.
                    \\If there are child accounts, those must be deleted before attempting to delete this account.
                ,
                    g.GtkMessageType.GTK_MESSAGE_WARNING,
                    null,
                );
            } else {

It seems to me that the comma after the multi-line string literal is misplaced. I think it should be indented one more level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions