This commit is contained in:
Zxilly 2024-09-04 01:45:08 +08:00
parent a50bc9f6ba
commit 507ba84453
No known key found for this signature in database
GPG Key ID: 47AB1DEC841BC6A2
2 changed files with 2 additions and 1 deletions

View File

@ -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) }

View File

@ -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) }