mirror of
https://github.com/golang/go
synced 2024-11-11 23:10:23 -07:00
go/ast: clarify when Ident.Obj is nil
Fixes #48141 Change-Id: Id20b7801d31456ffd74301ed0fd84788b8982fb1 Reviewed-on: https://go-review.googlesource.com/c/go/+/347530 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
ab7c904bf2
commit
52aef05498
@ -290,7 +290,7 @@ type (
|
||||
Ident struct {
|
||||
NamePos token.Pos // identifier position
|
||||
Name string // identifier name
|
||||
Obj *Object // denoted object; or nil
|
||||
Obj *Object // denoted object; or nil if the referenced declaration is not found in the parsed scope
|
||||
}
|
||||
|
||||
// An Ellipsis node stands for the "..." type in a
|
||||
|
Loading…
Reference in New Issue
Block a user