We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
go version
go version devel +ebbe4f8 Wed May 18 21:20:33 2016 +0000 linux/amd64
go env
Irrelevant.
$ cat $GOPATH/src/vendor/bar/bar.go package bar var World = "world" $ cat $GOPATH/src/foo/foo.go package main import ( "fmt" "bar" ) func main () { fmt.Println("Hello", bar.World) } $ go build -compiler gccgo foo
Nothing, and an executable 'foo' created.
$ go build -compiler gccgo foo # foo src/foo/foo.go:6:5: error: import file ‘bar’ not found "bar" ^ src/foo/foo.go:10:23: error: reference to undefined name ‘bar’ fmt.Println("Hello", bar.World) ^
This isn't that serious as I mostly use gccgo for packaging purposes and most packages are not built with bundled dependencies, but it's caused one package build failure I know about (https://launchpad.net/ubuntu/+source/docker-registry/2.3.1~ds2-1/+build/9640391).
The text was updated successfully, but these errors were encountered:
Perhaps this is related to #15628
Sorry, something went wrong.
Oh yes, that's the same bug. Thought I searched first, apparently not!
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
go version
)?go version devel +ebbe4f8 Wed May 18 21:20:33 2016 +0000 linux/amd64
go env
)?Irrelevant.
Nothing, and an executable 'foo' created.
This isn't that serious as I mostly use gccgo for packaging purposes and most packages are not built with bundled dependencies, but it's caused one package build failure I know about (https://launchpad.net/ubuntu/+source/docker-registry/2.3.1~ds2-1/+build/9640391).
The text was updated successfully, but these errors were encountered: