зеркало из https://github.com/golang/tools.git
go/internal/gcimporter: reference golang/go#44339 in TODO
Change-Id: Ifb3f1b03a8e0b58465e088cdda3e0357ce648124 Reviewed-on: https://go-review.googlesource.com/c/tools/+/293249 Trust: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Родитель
35839b7038
Коммит
4534fc34de
|
@ -123,7 +123,7 @@ func fileLine(fset *token.FileSet, obj types.Object) string {
|
|||
// cmd/compile and go/loader are inconsistent about which spelling
|
||||
// to use in os/signal/internal/pty's position information.
|
||||
// TODO(mdempsky): Investigate why they're inconsistent, and why
|
||||
// for only that one package.
|
||||
// for only that one package (golang.org/issue/44339).
|
||||
filename = strings.ReplaceAll(filename, "/private/var/folders/", "/var/folders/")
|
||||
}
|
||||
return fmt.Sprintf("%s:%d", filepath.Clean(filename), posn.Line)
|
||||
|
|
Загрузка…
Ссылка в новой задаче