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
The text was updated successfully, but these errors were encountered:
sbunce
changed the title
disallowVendorVisibility crashes on invalid import path that contains "vendor"
cmd/go: disallowVendorVisibility crashes on invalid import path that contains "vendor"
Jun 26, 2015
I'm using the new GO15VENDOREXPERIMENT support. I tried to compile some code that was trying to import an old vendor directory I had removed.
I stuck some print statements right above where it panic'd. Right above this line here.
https://github.com/golang/go/blob/master/src/cmd/go/pkg.go#L555
These are the values of the variables.
p.ImportPath = "local/vendor/protobuf/proto"
p.Dir = ""
i = 5
It's trying to do p.Dir[:-22].
The text was updated successfully, but these errors were encountered: