Skip to content

incorrect tabbing in gofmt #628

@rsc

Description

@rsc
package main

func f() {
    if very(long, condition, here) { /* comment */
        g()
    }
}
wreck.mtv=; gofmt x.go
package main

func f() {
    if very(long, condition, here) { /* comment */
                        g()
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions