go/src/go/printer
Than McIntosh 267b50a834 Revert "go/printer: reuse go/token.FileSet.PositionFor calls in setPos"
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>
2023-04-11 14:38:41 +00:00
..
testdata go/printer: if comment gets formatted away, don't squash 2022-05-25 23:11:14 +00:00
comment.go all: use strings.CutPrefix 2022-09-27 07:35:19 +00:00
example_test.go go/printer: make ExampleFprint correctly run as online example 2022-09-16 14:55:02 +00:00
gobuild.go
nodes.go go/printer: rename printPos to setPos 2022-08-19 16:33:22 +00:00
performance_test.go go/printer: reduce allocations to improve performance 2022-09-09 15:10:10 +00:00
printer.go Revert "go/printer: reuse go/token.FileSet.PositionFor calls in setPos" 2023-04-11 14:38:41 +00:00
printer_test.go