mirror of https://github.com/golang/go.git
sync
This commit is contained in:
parent
a50bc9f6ba
commit
507ba84453
|
|
@ -719,7 +719,7 @@ func (check *Checker) packageObjects() {
|
|||
}
|
||||
|
||||
// inSourceOrder implements the sort.Sort interface.
|
||||
// todo: replace with slices.SortFunc
|
||||
// TODO(gri) replace with slices.SortFunc
|
||||
type inSourceOrder []Object
|
||||
|
||||
func (a inSourceOrder) Len() int { return len(a) }
|
||||
|
|
|
|||
|
|
@ -713,6 +713,7 @@ func (check *Checker) packageObjects() {
|
|||
}
|
||||
|
||||
// inSourceOrder implements the sort.Sort interface.
|
||||
// TODO(gri) replace with slices.SortFunc
|
||||
type inSourceOrder []Object
|
||||
|
||||
func (a inSourceOrder) Len() int { return len(a) }
|
||||
|
|
|
|||
Loading…
Reference in New Issue