- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pkgScope (0.12 sec)
-
src/go/internal/gcimporter/ureader.go
func (r *reader) ident(marker pkgbits.SyncMarker) (*types.Package, string) { r.Sync(marker) return r.pkg(), r.String() } // pkgScope returns pkg.Scope(). // If pkg is nil, it returns types.Universe instead. // // TODO(mdempsky): Remove after x/tools can depend on Go 1.19. func pkgScope(pkg *types.Package) *types.Scope { if pkg != nil { return pkg.Scope() } return types.Universe }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0)