From: hk Date: Sun, 11 Oct 2020 03:44:09 +0000 (+0000) Subject: cmd/compile/internal/gc: fix wrong function name in the comment X-Git-Tag: go1.16beta1~791 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9449a125e8b25d21c0d522435be44a4a6e7af2d3;p=gostls13.git cmd/compile/internal/gc: fix wrong function name in the comment Change-Id: I2fc5cff7495b5db4eb8f286a5335787241f1a850 GitHub-Last-Rev: 1d226f14c8edbcb189fd1a37b11a82b9642f19ab GitHub-Pull-Request: golang/go#41917 Reviewed-on: https://go-review.googlesource.com/c/go/+/261317 Reviewed-by: Ian Lance Taylor Trust: Robert Griesemer --- diff --git a/src/cmd/compile/internal/gc/export.go b/src/cmd/compile/internal/gc/export.go index 44bea2b1fd..839c2c2c75 100644 --- a/src/cmd/compile/internal/gc/export.go +++ b/src/cmd/compile/internal/gc/export.go @@ -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 {