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
$ go version
go version devel +f2e954f463e0 Thu Aug 29 10:16:09 2013 +0200 linux/amd64
steps that will reproduce the problem:
1. $ cd $GOPATH/src
$ unzip path/to/attached/delfile.zip
2. $ go install delfile
$ ../bin/delfile
prints "still there"
3. $ rm delfile/deleted.go
$ go install delfile
$ ../bin/delfile
prints "still there"
the expected output of the second go install is:
# delfile
./main.go:4: undefined: deleted
same behavior is observed for non command/main packages.
a quick check for the files that were used to build the command or package can be
achieved without a notification system. although not a pretty solution:
$ cd /opt/go # your $GOROOT here
$ strings pkg/linux_amd64/fmt.a | grep -e "<.*\.go"
<doc.go
<format.go
<print.go
<scan.go
$ strings bin/gofmt | grep -e "cmd/gofmt/.*\.go"
/opt/go/src/cmd/gofmt/simplify.go
/opt/go/src/cmd/gofmt/rewrite.go
/opt/go/src/cmd/gofmt/gofmt.go
/opt/go/src/cmd/gofmt/doc.go
just a suggestion.
Attachments:
The text was updated successfully, but these errors were encountered: