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:
Matthew Dempsky 2021-02-17 12:20:57 -08:00
Родитель 35839b7038
Коммит 4534fc34de
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -123,7 +123,7 @@ func fileLine(fset *token.FileSet, obj types.Object) string {
// cmd/compile and go/loader are inconsistent about which spelling // cmd/compile and go/loader are inconsistent about which spelling
// to use in os/signal/internal/pty's position information. // to use in os/signal/internal/pty's position information.
// TODO(mdempsky): Investigate why they're inconsistent, and why // 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/") filename = strings.ReplaceAll(filename, "/private/var/folders/", "/var/folders/")
} }
return fmt.Sprintf("%s:%d", filepath.Clean(filename), posn.Line) return fmt.Sprintf("%s:%d", filepath.Clean(filename), posn.Line)