mirror of
https://github.com/golang/go.git
synced 2025-05-07 08:32:59 +00:00
We may encounter these nil pointer if go/packages cannot find the package of the given file, for example, when the user creates a new file or a new package. Change-Id: I16993017243a56332dd9f7e0aaf3c1d57f20fc3a Reviewed-on: https://go-review.googlesource.com/c/tools/+/167462 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>