mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: pass package name to types.NewPkg
Change-Id: I08b43b08a8d2e9851f41401feee4b72287ced774 Reviewed-on: https://go-review.googlesource.com/41072 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
ec241db2fd
commit
b2a363b7ea
7 changed files with 29 additions and 29 deletions
|
|
@ -556,7 +556,7 @@ func makepartialcall(fn *Node, t0 *types.Type, meth *types.Sym) *Node {
|
|||
}
|
||||
if spkg == nil {
|
||||
if makepartialcall_gopkg == nil {
|
||||
makepartialcall_gopkg = types.NewPkg("go")
|
||||
makepartialcall_gopkg = types.NewPkg("go", "")
|
||||
}
|
||||
spkg = makepartialcall_gopkg
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue