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?
to your account
go version go1.3.3 windows/amd64
When I run go test, it's complaining about Darwin being undefined:
.\robbie_test.go:60: undefined: Darwin
FAIL robbie [build failed]
However it is defined in a file named darwin.go
If I rename darwin.go to d.go (or anything else) it works:
c:\Users\darragh\Documents\gocode\src\robbie>ren darwin.go d.go
ok robbie 0.030s
The text was updated successfully, but these errors were encountered:
Update to Go 1.4 or later. Before Go 1.4, "darwin.go" would be treated identically to "foo_darwin.go", which is a build constraint on darwin, as described in http://golang.org/pkg/go/build/
Sorry, something went wrong.
Yeah, there is behavior change in Go 1.4.
Thanks for the info.
No branches or pull requests