go 1.13.1 local import under windows is broken #34643
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Just used local import in my project main file like:
import "./my_local_package"
"my_local_package" imports another non-local package
What did you expect to see?
Expect succefull build
What did you see instead?
I made some research. I'm sure it happens here:
https://github.com/golang/go/blob/release-branch.go1.13/src/cmd/go/internal/load/pkg.go#L879
Because function build.IsLocalImport checks psedo-import path
generated by dirToImportPath instead ofThe text was updated successfully, but these errors were encountered: