File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ func (s *Scope) Lookup(name string) Object {
77
77
//
78
78
// Note that obj.Parent() may be different from the returned scope if the
79
79
// object was inserted into the scope and already had a parent at that
80
- // time (see Insert, below ). This can only happen for dot-imported objects
80
+ // time (see Insert). This can only happen for dot-imported objects
81
81
// whose scope is the scope of the package that exported them.
82
82
func (s * Scope ) LookupParent (name string , pos token.Pos ) (* Scope , Object ) {
83
83
for ; s != nil ; s = s .parent {
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ const (
31
31
//
32
32
// the following relations exist:
33
33
//
34
- // Selector Kind Recv Obj Type Index Indirect
34
+ // Selector Kind Recv Obj Type Index Indirect
35
35
//
36
- // p.x FieldVal T x int {0} true
37
- // p.m MethodVal *T m func (e *T) m() {1, 0} true
38
- // T.m MethodExpr T m func m(_ T) {1, 0} false
36
+ // p.x FieldVal T x int {0} true
37
+ // p.m MethodVal *T m func() {1, 0} true
38
+ // T.m MethodExpr T m func(T) {1, 0} false
39
39
//
40
40
type Selection struct {
41
41
kind SelectionKind
You can’t perform that action at this time.
0 commit comments