diff options
| author | Robert Griesemer <gri@golang.org> | 2022-09-01 20:47:41 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@google.com> | 2022-09-02 16:43:15 +0000 |
| commit | 5befb24bb5cbd8ae6210b4d6a88a4437eec6fb0b (patch) | |
| tree | 0aa8d0dd3ad8df98234ed29bd2da16cec27515be /test/codegen/shift.go | |
| parent | 321a220d506fe1445302706f1725017a42fc1510 (diff) | |
| download | go-5befb24bb5cbd8ae6210b4d6a88a4437eec6fb0b.tar.xz | |
go/types: use function name position for init errors
This seems more sensible than the func keyword. With this change,
go/types uses the same error position as types2 and we can narrow
the error tolerance a bit.
(The types2 change doesn't change its position, but it makes the
code clearer and symmetric to go/types.)
Change-Id: Iedea7c80caa7239a4343c8748cb779ec545e84d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/427775
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Diffstat (limited to 'test/codegen/shift.go')
0 files changed, 0 insertions, 0 deletions
