You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for _, dep := range p1.deps {
deps[dep.ImportPath] = dep
}
deps["image/internal/imageutil"] is updated to data without error by import _ "image/jpeg".
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
Internal package can be imported from outside of the package.
cmd/go: Internal package can be imported from outside of the package.
Jun 23, 2015
go version devel +1be335b Mon Jun 22 11:11:37 2015 +0000 windows/386
go build pkg1
command do not occur internal package error.But if comment out
imporot _ "image/jpeg"
, then occur error.Perhaps, the reason is that there is
import "image/internal/imageutil"
in jpeg/reader.go file,and this code.
https://github.com/golang/go/blob/master/src/cmd/go/pkg.go#L867-L869
deps["image/internal/imageutil"]
is updated to data without error byimport _ "image/jpeg"
.The text was updated successfully, but these errors were encountered: