diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2021-09-08 15:59:11 -0700 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2021-09-09 00:10:46 +0000 |
| commit | e30a09013b24853cbe6d3d3a919e639df0bdf41c (patch) | |
| tree | 7ff96ac9edf4c5b7353f93ac67845e0c3cc857b3 /src/cmd/compile/internal/noder/decoder.go | |
| parent | a1f6208e56436281ce5e26ad745f8fc3f7a9b280 (diff) | |
| download | go-e30a09013b24853cbe6d3d3a919e639df0bdf41c.tar.xz | |
cmd/compile: extrapolate $GOROOT in unified IR
This ensures that diagnostics for files within $GOROOT continue to be
reported using their full filepath, rather than the abbreviated
filepath. Notably, this is necessary for test/run.go, which has tests
that expect to see the full filepath.
Updates #48247.
Change-Id: I440e2c6dd6109ca059d81cee49e476bba805d703
Reviewed-on: https://go-review.googlesource.com/c/go/+/348670
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/decoder.go')
0 files changed, 0 insertions, 0 deletions
