Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/gofmt: valid //line comments must remain at the beginning of the line #2990
What steps will reproduce the problem? gofmt $GOROOT/test/dwarf/linedirectives.go What is the expected output? What do you see instead? Most line directives appear correct, but some are indented incorrectly. This particular file also causes the gofmt long test to fail: go test cmd/gofmt --- FAIL: TestAll (18.53 seconds) long_test.go:86: /Users/gri/go/test/dwarf/linedirectives.go: not idempotent FAIL FAIL cmd/gofmt 18.589s (Albeit there are other known cases that cause gofmt to not be idempotent).