This reverts commit http://go.dev/cl/461739
Reason for revert: Causes longtest failures due to odd formatting.
Change-Id: I7e31ff107e730b6d667866ea7718bc8632760422
Reviewed-on: https://go-review.googlesource.com/c/go/+/483676
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
 }
 
 func (p *printer) setPos(pos token.Pos) {
-       // If p.pos is already equivalent to pos,
-       // we can avoid calling posFor again.
        if pos.IsValid() {
-               if file := p.fset.File(pos); file != nil && file.Offset(pos) != p.pos.Offset {
-                       p.pos = p.posFor(pos) // accurate position of next item
-               }
+               p.pos = p.posFor(pos) // accurate position of next item
        }
 }