```go package p //line :7:0 var x int ``` ``` $ gofmt x.go x.go:3:11: invalid column number: 0 ``` I don't see why an invalid line directive should prevent gofmt from formatting the file. It doesn't change its behavior based on its contents. Low priority.
I don't see why an invalid line directive should prevent gofmt from formatting the file. It doesn't change its behavior based on its contents.
Low priority.