go/format: turns correct program into incorrect one
dvyukov opened this issue · 1 comments
dvyukov commented
go fmt changed the following correct Go program:
package main
func main() {
x := 0 /**/; y := 1
_, _ = x, y
}
into the following incorrect Go program:
package main
func main() {
x := 0 /**/ y := 1
_, _ = x, y
}
griesemer commented
Should probably be fixed but is not urgent. This bug has been around for years.