mirror of https://github.com/golang/go.git
fix wrong function name in the comment
This commit is contained in:
parent
3036b76df0
commit
1d226f14c8
|
|
@ -96,7 +96,7 @@ func importsym(ipkg *types.Pkg, s *types.Sym, op Op) *Node {
|
|||
return n
|
||||
}
|
||||
|
||||
// pkgtype returns the named type declared by symbol s.
|
||||
// importtype returns the named type declared by symbol s.
|
||||
// If no such type has been declared yet, a forward declaration is returned.
|
||||
// ipkg is the package being imported
|
||||
func importtype(ipkg *types.Pkg, pos src.XPos, s *types.Sym) *types.Type {
|
||||
|
|
|
|||
Loading…
Reference in New Issue